因为AndroidStudio突然不识别类,按住Ctral点击类名无法跳转并且无法查看系统代码也无法提示系
统类方法 因此重装AndroidStudio 解决 , 将
classpath 'com.android.tools.build:gradle:3.5.2'//改为as软件版本
kotlin报错。
安装kotlin 插件。
删除 kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_5
}
将kotlin版本改为项目的原kotlin版本 重新运行 正常
如图