1.当我们用AndroidStudio Run时,控制台报出异常
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的build.gradle文件中 将ndk字段添加一个x86库架构,如图:
重新运行即可在模拟器中安装app。