美文网首页
The APK failed to install. Error

The APK failed to install. Error

作者: 爱吃豆腐面 | 来源:发表于2019-05-05 11:24 被阅读0次

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

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

两种解决办法:

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

相关文章

网友评论

      本文标题:The APK failed to install. Error

      本文链接:https://www.haomeiwen.com/subject/ipecoqtx.html