INSTALL_FAILED_NO_MATCHING_ABIS when install apk

前端 未结 24 1920
滥情空心
滥情空心 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:32

    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.

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

    On Android 8:

    apache.commons.io:2.4

    gives INSTALL_FAILED_NO_MATCHING_ABIS, try to change it to implementation 'commons-io:commons-io:2.6' and it will worK.

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

    In my case, in a xamarin project, in visual studio error removed by selecting properties --> Android Options and check Use Share run Times and Use Fast Deployment, in some cases one of them

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

    This happened to me. I checked the SDK Manager and it told me the one I was using had a update. I updated it and the problem went away.

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

    This solution worked for me. Try this, add following lines in your app's build.gradle file

    splits {
        abi {
            enable true
            reset()
            include 'x86', 'armeabi-v7a'
            universalApk true
        }
    }
    
    0 讨论(0)
  • 2020-11-22 08:38

    i had this problem using bitcoinJ library (org.bitcoinj:bitcoinj-core:0.14.7) added to build.gradle(in module app) a packaging options inside the android scope. it helped me.

    android {
    ...
        packagingOptions {
            exclude 'lib/x86_64/darwin/libscrypt.dylib'
            exclude 'lib/x86_64/freebsd/libscrypt.so'
            exclude 'lib/x86_64/linux/libscrypt.so'
        }
    }
    
    0 讨论(0)
提交回复
热议问题