sqlcipher/android-database-sqlcipher

no "J" field "mNativeHandle" in class

kinghom opened this issue · 2 comments

No pending exception expected: java.lang.NoSuchFieldError: no "J" field "mNativeHandle" in class "Lnet/sqlcipher/database/SQLiteDatabase;" or its superclasses

sqlcipher version is 4.5.4
sqlite version is 2.2.0

I found this mistake after i modified minSdkVersion 26 —>25

logcat displays the wrong statement :SQLiteDatabase.loadLibs(context);

I saw an issue dealing with this problem

#442 (comment)

but its not work for me

Hi @kinghom,

Thanks for your interest in SQLCipher, this library is deprecated. Are you using ProGuard to produce this behavior?