INSTALL_FAILED_NO_MATCHING_ABIS when install apk

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

    I faced this issue when moved from Android 7(Nougat) to Android 8(Oreo).

    I have tried several ways listed above and to my bad luck nothing worked.

    So i changed the .apk file to .zip file extracted it and found lib folder with which this file was there /x86_64/darwin/libscrypt.dylib so to remove this i added a code in my build.gradle module below android section (i.e.)

    packagingOptions {
        exclude 'lib/x86_64/darwin/libscrypt.dylib'
        exclude 'lib/x86_64/freebsd/libscrypt.so'
        exclude 'lib/x86_64/linux/libscrypt.so'
    }
    

    Cheers issue solved

提交回复
热议问题