Android Studio 安装APP时,提示“Installation failed since the device possibly has stale dexed jars that ...

Android Studio 安装APP时,提示“Installation failed since the device possibly has stale dexed jars that don't match the current version (dexopt error). In order to proceed, you have to uninstall the existing application.”错误的解决方法如下:


1.AndroidStudio-> Build -> Clean Projects ;

2.AndroidStudio-> File -> Setting -> Build, Exception,Deployment -> Instant Run ->不要勾选[]Enable Instant Run to hot swap code/resource changes on deploy (default enabled)


3. 打开AVD Manager,选择对应的模拟器,更改设置,将Internal Storage从800MB改成1600 Mb, 并wiped data。


4.设置AVD Manager,Boot options 更改为Cold boot。


5. 最后上面的方法都试过了,还是不行的话,就换个模拟器吧。好吧,我换了个Nexus 9.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容