sqlcipher / android-database-sqlcipher

Android SQLite API based on SQLCipher
https://www.zetetic.net/sqlcipher/sqlcipher-for-android/
Other
2.73k stars 564 forks source link

no "J" field "mNativeHandle" in class #644

Open kinghom opened 1 month ago

kinghom commented 1 month ago

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

https://github.com/sqlcipher/android-database-sqlcipher/issues/442#issuecomment-489394863

but its not work for me

developernotes commented 1 month ago

Hi @kinghom,

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

kinghom commented 1 month ago

已经收到你的飞鸽传书啦....