模拟器安装apk错误解决:The currently selected variant "debug" uses split APKs, but none of the 1 split apks...

【已解决】在Android模拟器安装apk,提示错误:

The currently selected variant "debug" uses split APKs, but none of the 1 split apks are compatible with the current device with density "560" and ABIs "x86".
Error while Installing APK

解决方法:

在app的gradle文件中ndk中加入'x86',如下:

ndk {
    abiFilters "armeabi",'x86'
}
再次编译执行, 问题解决。


你可能感兴趣的:(Android开发测试,Appium,专栏)