I’ve successfully created an app (now in the app store) using SqlCipher as the database. This was done in eclipse. Now, I’ve moved everything over to Android Studio, using the method suggested by the IDE of importing the project directly. Using this method (instead of exporting from eclipse and then importing) the new file structure is automatically put in place, which is great. Everything Nick mentioned in the integration post occurs w/o intervention.
The problem I’m having is with producing a signed APK. Building w/o signing seems to go fine (no errors). However when I attempt to build and generate a signed APK I get this error:
Error:Execution failed for task ‘:Project:proguardRelease’.
java.io.IOException: The same input jar [C:\AndroidStudioImport\Project\libs\sqlcipher.jar] is specified twice.
I’ve checked all the files and folders and I don’t see any spot where sqlcipher is referenced twice. Further, since things work fine with eclipse I’m pretty sure this is an Android Studio problem. But I just want to check with you guys to see if you have any insights on this issue.
Any help is appreciated.