-
Notifications
You must be signed in to change notification settings - Fork 40
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
java.lang.UnsatisfiedLinkError: dlopen failed: library "libsecrets.so" not found #78
Comments
After increasing the plugin version from 0.1.3 to 0.2.1, getting this crash in crashlytics for few users |
Please do let me know, if you need any additional information from my end. Please help me resolve this issue. |
@deepanshugupta1876 upate version by version and check the CHANGELOG to understand why you have this error. |
I have the same problem.. |
I have the same issue |
My solution:
version (in my case 3.18.1) can be depended on your project
|
Hello @vitalyveldyasov thanks for the solution if it is working it is great. How should I fix the library ? There is already a CMakeLists. Thanks |
What exactly should be fixed in library? Try to add into CMakesLists.txt a library name as I mentioned above, build the project and run gradle task like : ./gradlew hideSecretFromPropertiesFile -PpropertiesFileName=credentials.properties after that .so files should be generated and located in |
@vitalyveldyasov there is already a CMakesList.txt https://github.com/klaxit/hidden-secrets-gradle-plugin/blob/master/src/main/resources/cpp/CMakeLists.txt The problem might happen when the project already contain one. |
I am also facing this issue
|
I have been facing the same issue. This exception is coming up for a few of the devices in Crashlytics. Has anyone found any solution to the issue.? I am on the latest version of sdk v0.2.1. |
i have the same issue with small portion of users, and i cannot figure out why it's working with some users and not working with others. |
if you guys use R8 Obfuscation then you must include this rule in you proguard-rules.pro
This will instruct ProGuard to keep all native methods in any class it processes. |
I have the same issue, a very very small percentage of users run into this issue. |
This is what worked for me, thanks 🚀 |
Fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "libsecrets.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
at java.lang.System.loadLibrary(System.java:1664)
The text was updated successfully, but these errors were encountered: