-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
More than one file was found with OS independent path 'lib/x86/libc++_shared.so' #52
Comments
Google is a good tool. Use it before asking questions. As for this issue, the very first hit by Google has an answer.
android {
packagingOptions {
pickFirst 'lib/x86/libc++_shared.so'
}
} |
Now you get another choice, MMKV has a static-link version. Checkout our release note. (https://github.com/Tencent/MMKV/releases). |
@lingol after upgrading to AndroidX this solution doesn't seem to work anymore. |
Try static link. |
I googled this and Google brought me here, to this snarky comment |
Wow, that's the joke of the week in such a hard time due to the virus. |
Not fixed for me. |
Use static-linked instead https://github.com/Tencent/MMKV/wiki/android_setup#installation |
I added this first but didn't work but when i tried like that it worked successfully, thanks to lingol for the hint. |
For those who still face this problem, just use |
This works for me.
|
FYI, starting from v1.2.11, MMKV will statically link libc++ by default. It will solve this problem once and for all. |
yeah... its worked for me... thank u so much bro |
This works for me. Thanks. |
You should use mmkv-static instead. For different versions of libc++_shared.so will cause unexpected crashes. |
Execution failed for task ':app:mergeDebugNativeLibs'.
In app/build.gradle file
|
You should just use upgrade to mmkv 1.2.11 and above. |
how to update it? |
What? You have not imported MMKV? Why'd you ask question here? |
coz I am having this error... More than one file was found with OS independent path 'lib/armeabi-v7a/libfbjni.so'. If you are using jniLibs and CMake IMPORTED targets, see |
The language of MMKV
Kotlin
The version of MMKV
v1.0.10
The platform of MMKV
The installation of MMKV
Maven
What's the issue?
The text was updated successfully, but these errors were encountered: