android studio报错Operation is not supported for read-only collection

2 阅读1分钟

最新版本的android studio编译时报错"Operation is not supported for read-only collection".

解决方法:

转到“Android Studio -> Files -> Settings -> Experimental”,然后禁用“Trace Gradle with the Import”复选框。这是在更新到 Hedgehog 之后发生的。

截屏