Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
In this blog, I am going to tell you that how to run your app in your emulator while using the native libraries.
When you have used any native libraries in your application and run into your emulator then android studio show an error message:
Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
But this issue is not solved “by uninstalling an existing version of the apk if it is present, and then re-installing“.
Actually, INSTALL_FAILED_NO_MATCHING_ABIS is when you are trying to install an app that has native libraries and it doesn’t have a native library for your cpu architecture.
INSTALL_FAILED_NO_MATCHING_ABIS
There is a simple script, which has to written in your build.gradle,
android { splits { abi { enable true reset() include 'x86', 'armeabi-v7a' universalApk true } } } 12345678910 android { splits { abi { enable true reset() include 'x86', 'armeabi-v7a' universalApk true } }}
After that clean your project and run your application on the emulator.
Once the code is compiled, your application accesses the binary data in the library through the ABI. The ABI defines the structures and methods that your compiled application will use to access the external library (just like the API did), only on a lower level.
Source: SO-link
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.