Android release Couchbase not working with Proguard because of Jackson

Posted by itungnt on Monday, February 1, 2016

I used Couchbase Lite in my android application, and compiled it for release, using build signed APK.

My Gradle has minifyEnabled=true for release target, and when I run the release APK it threw an exception.

There is a document of Couchbase here saying we should not minify.

Couchbase Lite for Android might not build correctly with ProGuard. If you get build errors that mention ProGuard, you can disable it by changing the build.gradle file `minifyEnabled` property (formerly `runProGuard`) in the android section to false. When you change it, the android section should look something like the following code:


comments powered by Disqus