INSTALL_FAILED_NO_MATCHING_ABIS when install apk

前端 未结 24 1918
滥情空心
滥情空心 2020-11-22 08:12

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

相关标签:
24条回答
  • 2020-11-22 08:20

    Basically if you tried Everything above and still you have the same error "Because i am facing this issue before too" then check which .jar or .aar or module you added may be the one library using ndk , and that one is not supporting 8.0 (Oreo)+ , likewise i am using Microsoft SignalR socket Library adding its .jar files and latterly i found out app not installing in Oreo then afterwards i remove that library because currently there is no solution on its git page and i go for another one.

    So please check the library you are using and search about it if you eagerly needed that one.

    0 讨论(0)
  • 2020-11-22 08:20

    Just in case, this might help someone like me. I had this same issue in Unity 3D. I was attempting to use the emulators from Android Studio. So I enabled Target Architecture->x86 Architecture(although deprecated) in Player Settings and it worked!

    0 讨论(0)
  • 2020-11-22 08:21

    I know there were lots of answers here, but the TL;DR version is this (If you're using Xamarin Studio):

    1. Right click the Android project in the solution tree
    2. Select Options
    3. Go to Android Build
    4. Go to Advanced tab
    5. Check the architectures you use in your emulator (Probably x86 / armeabi-v7a / armeabi)
    6. Make a kickass app :)
    0 讨论(0)
  • 2020-11-22 08:21

    Somehow, this fix the issue out of no reason.

    ./gradlew clean assemble and then install the app.

    0 讨论(0)
  • 2020-11-22 08:23

    In general case to find out which library dependency has incompatible ABI,

    • build an APK file in Android Studio (menu Build > Build Bundle(s)/APK(s) > Build APK(s)) // actual on 01.04.2020
    • rename APK file, replacing extension "apk" with extension "zip"
    • unpack zip file to a new folder
    • go to libs folder
    • find out which *.jar libraries with incompatible ABIs are there

    You may try to upgrade version / remove / replace these libraries to solve INSTALL_FAILED_NO_MATCHING_ABIS when install apk problem

    0 讨论(0)
  • 2020-11-22 08:24

    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

    0 讨论(0)
提交回复
热议问题