Android studio从长颈鹿升级到 新版本小刺猬 ,之后 新建项目build 一个小时之后运行,竟然提示如下错误,
"Operation is not supported for read-only collection"
wtf,尝试过 新建项目,clean项目,重新build ,清除as 缓存等方法都还是在运行时出现错误提示,
猜测是新旧版本存在不兼容的地方,具体哪里也不好定位了,
最后使用重置大法给整好了:
重置As , 是用新的配置,重新下载sdk, tool等配套工具,
鉴于网上没有相关的解决方案,就小计一下,避免踩坑。