-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting java.lang.UnsatisfiedLinkError #635
Comments
Getting crash for some devices. |
Hi @UKMIITB, For some devices which present |
@developernotes
At the beginning we faced this error. We upload app as aab bundle on playstore. And for some devices in the split But now we are getting a different issue as mentioned above
Does ReLinker project fixes this current issue or will it fix both the issues ? |
@developernotes It seems that libsqlcipher.so is private post Android 7 |
Hi @UKMIITB, Are you building a custom Android image? I don't recall seeing an error relating to |
@developernotes Generating a passphrase
Can you elaborate more on how to use |
Hi @UKMIITB, You need to invoke
In your case, you can provide an alternative |
add packagingOptions inside android{} in app-level gradle file |
Hi @goldfish07, Unfortunately, I am unaware if ReLinker resolves this specific issue. We have received sporadic reports of success when using ReLinker. Another option to investigate within your application is the use of the |
|
Hi @goldfish07, I'm glad to hear that |
#138) …n some devices. crash: https://console.firebase.google.com/project/dydx-operations-services/crashlytics/app/android:trade.opsdao.dydxchain/issues/c726efcb3000a08b6fddecced6d53000?utm_campaign=extensions&utm_medium=SLACK&utm_source=NEW_ISSUE&time=last-seven-days&versions=1.1.0%20(37);1.1.0%20(35);1.1.0%20(34);1.2.0%20(38)&sessionEventKey=665ECA8C001C00015D9CD1B6641CC592_1955001547637968481 github issue: sqlcipher/android-database-sqlcipher#635 (comment)
Expected Behavior
App should not crash
Actual Behavior
App is crashing for some devices as per crashlytics report
Steps to Reproduce
SQLCipher version (can be identified by executing
PRAGMA cipher_version;
):SQLCipher for Android version:
implementation "net.zetetic:android-database-sqlcipher:4.5.4"
Are you able to reproduce this issue within the SQLCipher for Android test suite?
Fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "/system_ext/lib64/libsqlcipher.so" needed or dlopened by "/apex/com.android.art/lib64/libnativeloader.so" is not accessible for the namespace "classloader-namespace"
at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
at java.lang.Runtime.loadLibrary0(Runtime.java:998)
at java.lang.System.loadLibrary(System.java:1661)
at net.sqlcipher.database.SQLiteDatabase$1.loadLibraries(SQLiteDatabase.java:230)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:247)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:226)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:219)
at net.sqlcipher.database.SupportHelper.(SupportHelper.java:31)
at net.sqlcipher.database.SupportFactory.create(SupportFactory.java:43)
Note: If you are not posting a specific issue for the SQLCipher library, please post your question to the SQLCipher discuss site. Thanks!
The text was updated successfully, but these errors were encountered: