I have an issue with third party libraries that are imported to my project.
I read quite a lot of articles about that but do not get any information how properly handle it.
I put my classes .so to the folder.
Problem is that the i try to run the app i receive
[INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
July 25, 2019 :
I was facing this issue in Android Studio 3.0.1 :
After checking lots of posts, here is Fix which works:
Go to module build.gradle and within Android block add this script:
splits {
abi {
enable true
reset()
include 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'mips', 'mips64', 'arm64-v8a'
universalApk true
}
}
Simple Solution. Feel free to comment. Thanks.
I faced same problem in emulator, but I solved it like this:
Create new emulator with x86_64 system image(ABI)
select device
select x86_64
That's it.
This error indicates the system(Device) not capable for run the application.
I hope this is helpful to someone.
13 September 2018 It worked for me when add more types and set universalApk with false to reduce apk size
splits {
abi {
enable true
reset()
include 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'mips', 'mips64', 'arm64-v8a'
universalApk false
}
}
If you got this error when working with your flutter project, you can add the following code in the module build.gradle
and within Android block
and then in the defaultConfig
block. This error happened when I was trying to make a flutter apk build.
android{
...
defaultConfig{
...
//Add this ndk block of code to your build.gradle
ndk {
abiFilters 'armeabi-v7a', 'x86', 'armeabi'
}
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With