SQLCipher proguard rule
See original GitHub issueDBFlow Version:
apt "com.github.Raizlabs.DBFlow:dbflow-processor:3.1.1"
compile "com.github.Raizlabs.DBFlow:dbflow-core:3.1.1"
compile "com.github.Raizlabs.DBFlow:dbflow:3.1.1"
compile "com.github.Raizlabs.DBFlow:dbflow-sqlcipher:3.1.1@aar"
Question What are recommended proguard rules for SQLCipher
Description: When I use it with proguard I already use some rules
-keep class info.max.db.model.** { *; }
-keep class * extends com.raizlabs.android.dbflow.config.DatabaseHolder { *; }
-keep class com.raizlabs.android.dbflow.** { *; }
-keep class * extends com.raizlabs.android.dbflow.config.BaseDatabaseDefinition { *; }
-keep class net.sqlcipher.** { *; }
-dontwarn net.sqlcipher.**
but I receive this too, any clue how to solve it ?
Warning: com.raizlabs.dbflow.android.sqlcipher.SQLCipherOpenHelper: can't find referenced method 'net.sqlcipher.database.SQLiteDatabase getWritableDatabase(java.lang.String)' in program class com.raizlabs.dbflow.android.sqlcipher.SQLCipherOpenHelper
Warning: com.raizlabs.dbflow.android.sqlcipher.SQLCipherOpenHelper$BackupHelper: can't find referenced method 'net.sqlcipher.database.SQLiteDatabase getWritableDatabase(java.lang.String)' in program class com.raizlabs.dbflow.android.sqlcipher.SQLCipherOpenHelper$BackupHelper
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
ProGuard with SQLCipher for Android
No, that is not required, however ProGuard does provide other useful features such as file shrinking and optimization. I will remove the -dontobfuscate...
Read more >Android Proguard SqlCipher NoClassDefFoundError
Have been battling with Proguard all day and have tried many examples and solutions on the official Proguard site as well as StackOverflow....
Read more >SQLCipher encrypted error in android release version.
I am trying to encrypt database using SQLCipher. ... I even tried proguard rules mentioned in every possible site. Here is my progaurd...
Read more >SQLCipher - DBFlow - GitBook
As of 3.0.0-beta2+, DBFlow now supports SQLCipher fairly easily. To add the library add the library to your ... You also need to...
Read more >ProGuard Android obfuscation
Hi Emery, I'm glad to hear you were able to get ProGuard working with SQLCipher for Android. Based on the -keep documentation [1]...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm with gradle build tools 2.1.3 it works perfect. Does anyone has a clue, what’s wrong with 2.2.0. We all have to go to 2.2.0 sooner or later
Do you have tons of errors on gradle 2.2.0? Try downgrade gradle to 2.1.3.