Conflict with rncryptor-native?

Hello,

i’ve integrated sqlcipher in our app. Now we’ve to crypt files too, so I use “RNCryptorNative” for it. But, it seem, that sqlcipher has a conflict with new Libary.

The Exception shows:

08-03 14:35:56.449 4999-4999/? E/App: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/app-2/base.apk"],nativeLibraryDirectories=[/data/app/app-2/lib/arm64, /data/app/app-2/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libsqlcipher.so"
                                          at java.lang.Runtime.loadLibrary(Runtime.java:367)
                                          at java.lang.System.loadLibrary(System.java:1076)
                                          at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:177)
                                          at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:170)

The Libary: GitHub - TGIO/RNCryptorNative: Android JNI model implementation of Rob Napier's RNCryptor.

I’ve also try use abi in grandle, but it don’t help.

Any ideas or tips?

Thank you

Hello @fegl84

Your application has bundled native libraries that target a 64-bit CPU, SQLCipher for Android does not include 64-bit libraries at this time. More details on this are addressed here.