ibrahim
1
I am following the instruction to set up CouchBase-lite in IntelliJ Ubuntu.
The problem is that JavaContext cannot be applied to. Any idea why ?
error message in line
manager = new Manager(context, Manager.DEFAULT_OPTIONS);
error message
Manager (com.couchbase.lite.Context,ManagerOptions) in Manager cannot be applied to (com.couchbase.lite.JavaContext,ManagerOptions)
hideki
2
Hi @ibrahim,
For CBL for Java, please use JavaContext https://github.com/couchbase/couchbase-lite-java/blob/master/src/main/java/com/couchbase/lite/JavaContext.java to create Manager instance.
If you still see the problem, please share code snippet how the app instantiate JavaContext.
Thanks,
Hideki