天天看点

Android Studio update失败问题 some conflicts were found in the installation area

最近由Android Studio 3.4.1或者3.4.2升级到3.5.0时就会报错 some conflicts were found in  the  installation  area。查找资料说是可以增量更新https://www.jianshu.com/p/f9e5e1369ad6 ,进去一顿操作猛如虎还是没卵用,除了需要翻墙,还没弄成。最后在stackoverflow上查到切实可用的方法,简单粗暴>>>>卸载重装,对就是简单粗暴而有效。有几点要注意:

1.注意保留自己的配置config文件不用删,里面有字体设置、按键、主题等风格设置

2.去这里下载https://www.androiddevtools.cn/   ,直接百度的网址http://www.android-studio.org/  不是最新版的

补充:

更新完后程序在虚拟机上跑时还可能出现installation failed since the device possibly has stale dexed jars that don't match the current version 。网上说的什么Clean Project或者Sync project我个人还是没解决,此时只要将模拟器删掉重新建一个就好了,可能3.5.0版进行了大的更改,一些地方兼容不上来了。

That'  All,每天总结进步一点点!