some kotlin libraries attached to this project were compiled with a newer kotlin compiler and can‘t

some kotlin libraries attached to this project were compiled with a newer kotlin compiler and can't be read ,please update kotlin plugin

翻译:

一些kotlin库附加到这个项目是用更新的kotlin编译器编译的,不能读取,请更新kotlin插件

这个异常说的是kotlin插件版本过低,需要更新;

在Androidstudio中顶部找到Tools  ----->  Kotlin ------>configure Kotlin plugin updates--->Languages & Frameworks--->kotlin--点击install--->ok 

(或者选择File-->settings--->Languages & Frameworks--->kotlin--点击install--->ok)

如果更新之后还是报这个异常就把c盘里面的.gradle删掉,重新下载。这些就是我处理成功的方法。

 

Supongo que te gusta

Origin blog.csdn.net/weixin_37438128/article/details/118493336
Recomendado
Clasificación