If you are building Couchbase Lite from source, you are getting a preview 
of the 2.6 version.  There are a couple of things that you will have to do, 
in your code, to use it.


   1. You *must* call CouchbaseLite.init(ApplicationContext) before you use 
   any other Couchbase classes.  Unless you do this, your app will crash.
   2. DatabaseConfiguration no longer takes a context as an argument.
   3. Your application must support Java 8.  Your gradle build should 
   contain a clause like this, inside the android block

    compileOptions {
        targetCompatibility 1.8
        sourceCompatibility 1.8
    }

Cheers!
  -blake

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/5e63bb09-8fd4-4875-9399-bd37b3cd5342%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to