问题:
新建了个低版本的模拟器供调试使用,结果装包时报错
The application could not be installed: INSTALL_FAILED_DEXOPT
解决方案:
<1> AVD Manager 中选中指定模拟器,编辑栏选中wipe Data清空数据
<2> 选中Show Advanced Settings–>Internal Storage修改存储大小,改成了4096MB(原来只有500MB太小了)
<3>最后重启一下模拟器,重新装包就可以啦
本文地址:https://blog.csdn.net/qq_22255311/article/details/112015421
黄山市民网:https://www.huangshanshimin.com/