2016-06-10 61 views
2

我的應用程序,同時與三星Galaxy S6邊緣現有SQLCipher境界添加到我的項目,但墜毀在三星注運行正常3.應用程序崩潰

Crashlogs: -

java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/co.xyz.pqr.Alpha-1/base.apk"],nativeLibraryDirectories=[/data/app/co.xyz.pqr.Alpha-1/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libstlport_shared.so" 
                       at java.lang.Runtime.loadLibrary(Runtime.java:366) 
                       at java.lang.System.loadLibrary(System.java:988) 
                       at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:173) 
                       at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:169) 
+0

這聽起來像你混合32位和64位的ARM獲得

packagingOptions { exclude "lib/arm64-v8a/librealm-jni.so" } 

的更多信息。 Realm同時支持,但如果另一個庫不支持64位ARM,則可以輕鬆結束這樣的崩潰日誌。請看看https://realm.io/docs/java/latest/#couldnt-load-librealm-jniso – geisshirt

+0

值得關注[Relinker](https://github.com/KeepSafe/ReLinker)進行加載本地庫 – EpicPandaForce

回答