Android安装应用 INSTALL_FAILED_DEXOP
2020-04-10 本文已影响0人
架构文摘
今天在帮助客户解决一个问题时,由于他们的手机是用的5.0系统身边没有5.0系统的手机,只能用一个模拟器来安装测试应用,但是在安装过程中碰到了以下问题:
The application could not be installed: INSTALL_FAILED_DEXOPT
清除模拟器数据
在AndroidStudio中打开AVD Manager
:

使用WipeData
清除数据:

调整模拟器内存
使用上面的WipeData
还是一样的问题的话,建议重新编辑下模拟器的配置将Internal Storage
改大一些2G或4G。
编辑模拟器:

点击面板中的Show Advanced Settings
显示高级选项并调整Internal Storage
的大小:

最后保存修改后的值,重启模拟器。