Archive And Install_failed_no_matching_abis
INSTALLFAILEDNOMATCHINGABIS 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. For example if you compiled an app for armv7 and are trying to install it on an emulator that uses the Intel architecture instead it will not work.
I tried to install my app into Android L Preview Intel Atom Virtual Device, it failed with error:
INSTALL_FAILED_NO_MATCHING_ABIS
What does it mean?
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. For example if you compiled an app for armv7 and are trying to install it on an emulator that uses the Intel architecture instead it will not work.
If you using Genymotion you need Installing ARM Translation and GApps
I’m posting an answer from another thread because it’s what worked well for me, the trick is to add support for both architectures :
Posting this because I could not find a direct answer and had to look at a couple of different posts to get what I wanted done…
I was able to use the x86 Accelerated (HAXM) emulator by simply adding this to my Module’s build.gradle script Inside android{} block:
Run (build)… Now there will be a (yourapp)-x86-debug.apk in your output folder. I’m sure there’s a way to automate installing upon Run but I just start my preferred HAXM emulator and use command line:
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. For example if you compiled an app for armv7 and are trying to install it on an emulator that uses the Intel architecture instead it will not work.
Using Xamarin on Visual Studio 2015.
Fix this issue by:
- Open your xamarin .sln
- Right click your android project
- Click properties
- Click Android Options
- Click the ‘Advanced’ tab
Under “Supported architectures” make the following checked:
- armeabi-v7a
- x86
save
- F5 (build)
Edit: This solution has been reported as working on Visual Studio 2017 as well.
This is indeed a strange error that can be caused by multidexing your app. To get around it, use the following block in your app’s build.gradle file:
I know there were lots of answers here, but the TL;DR version is this (If you’re using Xamarin Studio):
- Right click the Android project in the solution tree
- Select
Options
- Go to
Android Build
- Go to
Advanced
tab - Check the architectures you use in your emulator (Probably
x86
/armeabi-v7a
/armeabi
) - Make a kickass app 🙂
The comment of @enl8enmentnow should be an answer to fix the problem using genymotion:
If you have this problem on Genymotion even when using the ARM translator it is because you are creating an x86 virtual device like the Google Nexus 10. Pick an ARM virtual device instead, like one of the Custom Tablets.
INSTALL_FAILED_NO_MATCHING_ABIS means the architecture is not matched. If you are using a Android Studio on a Mac (which generally uses Apple’s ARM), then you need to set the Android Virtual Device CPU/ABI to ‘arm’ or ‘armeabi-v7a’. If however you are using a Android Studio on a PC (which generally uses Intel’s chip, then set to ‘x86’ or ‘x86_64’.
Visual Studio mac – you can change the support here:
For genymotion on mac, I was getting INSTALL_FAILED_NO_MATCHING_ABIS error while installing my apk.
In my project there wasn’t any “APP_ABI” but I added it accordingly and it built just one apk for both architectures but it worked.
https://stackoverflow.com/a/35565901/3241111
this solution work for me try this,
add following lines in your app build.gradle file
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upComments
commented Oct 3, 2017
Using apk: C:/**/platforms/android/build/outputs/apk/android-arm64-debug.apk Package name: com.ioiort.xemgigio14092017 Our loyal customers include small businesses, municipalities, schools, lawyers, accountants, architects, non-profits, charities, PR firms, retailers, manufacturers, government agencies, and just about every company in-between. Managed services roi calculator download. As a relied upon outsourced, we’ll never take your trust for granted. The world’s most demanding organizations depend on our Information Technology Services every day. We have thousands of happy customers, we are financial strong, have a nationwide presence and offer services that other IT Companies only dream about.If you are tired with a constant changing IT person from a small company, or you would like to simply augment your current IT staff we are the managed service provider for you. C:/**/platforms/android/build/outputs/apk/android-arm64-debug.apk: 1 file pushed. 3.5 MB/s (39288262 bytes in 10.821s) [ERROR] An error occurred while running cordova run android (exit code 1). |
commented Mar 6, 2020
maybe follow this question on stackOverflow: https://stackoverflow.com/questions/60571328/cordova-crosswalk-installation-of-andoird-apk-failed |