The APK failed to install. Error

2019-05-05  本文已影响0人  爱吃豆腐面

The APK failed to install. Error:Could not parse error string.
拖拽apk到模拟器上安装运行,报上述错误。

原因是:模拟器CPU是X86-64架构,而apk只支持ARM架构

两种解决办法:

  1. 使用真机,放弃模拟器。
  2. 继续使用模拟器,需要重新打包,在打包命令后加上"-Prunx86=true"
上一篇 下一篇

猜你喜欢

热点阅读