Ah, so Chris and I just recently ran into that exact same problem on Phonegap.
The fix was to move to the file from: META-INF/services/com.couchbase.lite.storage.SQLiteStorageEngine to: services/com.couchbase.lite.storage.SQLiteStorageEngine See https://github.com/couchbase/couchbase-lite-android/issues/211 On Wed, Mar 5, 2014 at 2:33 AM, Diogo Júnior <[email protected]> wrote: > > Eric La fortune have found the problem! > The "proguard/dexguard" manifest merger was removing the > META-INF/services/com.couchbase.lite.storage.SQLiteStorageEngine from the > final apk meaning that this service wouldn't be available. Eric is going to > solve the problem. > > On Monday, 3 March 2014 23:02:11 UTC, Diogo Júnior wrote: > >> No, this is happening because I'm using proguard and it's somehow >> changing the couchbase behaviour, but I don't know what might be. If I >> could know what are the possible causes for this error, I would have more >> chances of knowing how to configure proguard in order to avoid this error. >> >> Thanks. >> On 3 Mar 2014 22:22, "Traun Leyden" wrote: >> >>> Is there any logcat output / stacktrace that includes the couchbase lite >>> classes? >>> >>> >>> >>> >>> On Mon, Mar 3, 2014 at 12:12 PM, Diogo Júnior wrote: >>> >>>> I'm creating the couchdbconnector and without apparent reason the app >>>> crashes with this Exception that doesn't clarify why the exception is >>>> happening: >>>> >>>> ``` >>>> Caused by: org.ektorp.DbAccessException: com.couchbase.lite.ektorp.CBLi >>>> teHttpResponse@426f3ee0 >>>> URI: cblite:///user_testfhpandroid7/ >>>> Response Body: >>>> { >>>> "status" : 500 >>>> } >>>> at org.ektorp.http.StdResponseHandler. >>>> createDbAccessException(StdResponseHandler.java:44) >>>> at org.ektorp.http.StdResponseHandler.error( >>>> StdResponseHandler.java:62) >>>> at org.ektorp.http.RestTemplate.handleVoidResponse( >>>> RestTemplate.java:98) >>>> at org.ektorp.http.RestTemplate.put(RestTemplate.java:39) >>>> at org.ektorp.impl.StdCouchDbInstance.createDatabase( >>>> StdCouchDbInstance.java:51) >>>> at org.ektorp.impl.StdCouchDbInstance.createDatabase( >>>> StdCouchDbInstance.java:43) >>>> at org.ektorp.impl.StdCouchDbConnector. >>>> createDatabaseIfNotExists(StdCouchDbConnector.java:387) >>>> at org.ektorp.impl.StdCouchDbInstance.createConnector( >>>> StdCouchDbInstance.java:103) >>>> ``` >>>> Someone knows why this might be happening? Issue reported: >>>> https://github.com/helun/Ektorp/issues/162 >>>> Thanks. >>>> >>>> -- >>>> 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 [email protected]. >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/mobile-couchbase/115f2c0b-efc1-4122-8317- >>>> 3e170d2635dc%40googlegroups.com. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Couchbase Mobile" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/ >>> topic/mobile-couchbase/nTaTlIQ7dCI/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/mobile-couchbase/CACSSHCHY-ywhjrN1WyYXVb1AGuoQeptKMLOctoJ >>> sn%2Bj1A4ZyDw%40mail.gmail.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mobile-couchbase/3491aba1-6373-46a6-ba3b-46d9bb50a127%40googlegroups.com<https://groups.google.com/d/msgid/mobile-couchbase/3491aba1-6373-46a6-ba3b-46d9bb50a127%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCF1oYTGGfze-GujPLEsqNaZ49JCfoOv-koWJ9pfguhahQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
