使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATIBLE

参考:http://my.oschina.net/u/242764/blog/375909

今天使用adb给genymotion安装apk的时候,发生Installation error: INSTALL_FAILED_CPU_ABI_INCOMPATIBLE错误,经过百度发现这种console控制台报错:Installation error: INSTALL_FAILED_CPU_ABI_INCOMPATIBLE,是因为系统里缺少了 Google Play 市场等各种谷歌服务应用,其实是因为版权问题,从 2.0 版本开始 Genymotion  提供的虚拟设备都已经移除了 Google Apps  以及 ARM library support ,所以,如果通过软件里下载回来的虚拟机在运行一些必须依靠这些组件运行的 App 时就会出现错误或闪退现象。

解决办法:

  1. 下载Genymotion-ARM-Translation.zip(http://pan.baidu.com/s/1mgAiuTy)

  2. 运行Genymotion,并start你配置好的virtual device使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATIBLE

  3. 将下载好的Genymotion-ARM-Translation.zip直接拖动到virtual device,然后点击ok:使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATIBLE

  4. 最后会弹出安装成功的信息使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATIBLE

  5.关闭virtual device以及Genymotion,重新启动。

再次部署Android应用在上面就可以成功了