AndroidStudio 解决Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS

问题:运行虚拟机弹出:

Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS.
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?

网络解决:

模拟器上经常出现,原因是我应用使用了原生库(NDK,Native Lib),这些库的编译目标通常是arm架构的cpu,在x86上运行就会报这样的错误, 有人说 一个简单的解决办法就是换一个arm架构的模拟器 其实这不是最好的办法 。 

更好解决:而是在build中加入

AndroidStudio 解决Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS_第1张图片

你可能感兴趣的:(AndroidStudio 解决Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS)