INSTALL_FAILED_NO_MATCHING_ABIS when install apk

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

    this worked for me ... Android > Gradle Scripts > build.gradle (Module:app) add inside android*

    android {
      //   compileSdkVersion 27
         defaultConfig {
            //
         }
         buildTypes {
            //
         }
        // buildToolsVersion '27.0.3'
    
        splits {
               abi {
                     enable true
                     reset()
                     include 'x86', 'armeabi-v7a'
                     universalApk true
                   }
        }
     }
    

提交回复
热议问题