Android Studio模拟器报错INSTALL_FAILED_NO_MATCHING_ABIS

使用Android Studio将apk安装到模拟器上是报错:INSTALL_FAILED_NO_MATCHING_ABIS

详细信息如下:

Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing. WARNING: Uninstalling will remove the application data! Do you want to uninstall the existing application?

解决方法:

在build.gradle中添加

android {

     splits {

         abi {

               enable true

               reset()

               include 'x86', 'armeabi-v7a','x86_64'

               universalApk true

               }

          }

}

Guess you like

Origin blog.csdn.net/Lc_style/article/details/84588165