引入kotlin运行报错e: Supertypes of the following classes

> Could not initialize class org.jetbrains.kotlin.gradle.plugin.sources.Defa

Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath: | 易学教程

Could not initialize class org.jetbrains.kotlin.gradle.plugin.sources.DefaultLanguageSettingsBuilder_archie_7的博客-CSDN博客

e: Supertypes of the following classes cannot be resolved. Please make sure---可以改

ext.kotlin_version = '1.3.60'  也可以clear


Compose 与 Kotlin 的兼容性对应关系
https://developer.android.google.cn/jetpack/androidx/releases/compose-kotlin

ktolin的android项目编译突然报错w: Runtime JAR files in the classpath should have the same version. These file
https://blog.csdn.net/qq_21687123/article/details/119043127

Module was compiled with an incompatible version of Kotlin.
https://blog.csdn.net/weixin_45966961/article/details/123642105

改成1.8 需要java11 改成1.5.10 又说项目中有高版本的,应该逐行注销依赖进行排查,包括settings.gradle里面的组件

没加 apply plugin: 'kotlin-android'
报找不到符号

你可能感兴趣的:(android,android,studio,kotlin)