安装应用时模拟器报错INSTALL_FAILED_DEXOPT

问题:

新建了个低版本的模拟器供调试使用,结果装包时报错
The application could not be installed: INSTALL_FAILED_DEXOPT

解决方案:

<1> AVD Manager 中选中指定模拟器,编辑栏选中wipe Data清空数据
擦除数据.png

<2> 选中Show Advanced Settings–>Internal Storage修改存储大小,改成了4096MB(原来只有500MB太小了)
修改存储大小.png

<3>最后重启一下模拟器,重新装包就可以啦

猜你喜欢

转载自blog.csdn.net/qq_22255311/article/details/112015421