Gradle 同步失败:不支持的方法:KotlinPlatformContainer.supports()
Gradle sync failed: Unsupported method: KotlinPlatformContainer.supports()
我刚刚将 Android Studio 更新到最新版本 3.5.1,我知道出现以下错误:
Gradle sync failed: Unsupported method:
KotlinPlatformContainer.supports(). The version of Gradle you connect
to does not support that method.
To resolve the problem you can
change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other
information from the model.
我在我的两个模块中使用了 Kotlin Multiplatform,但我不知道它是否相关。
看起来这个问题是已知的并在以下位置进行了跟踪:
Invalidate caches and Restart worked for me
如果您担心保存本地历史记录和其他缓存数据,您也可以先尝试重新启动 IDE。
我刚刚将 Android Studio 更新到最新版本 3.5.1,我知道出现以下错误:
Gradle sync failed: Unsupported method: KotlinPlatformContainer.supports(). The version of Gradle you connect to does not support that method. To resolve the problem you can change/upgrade the target version of Gradle you connect to. Alternatively, you can ignore this exception and read other information from the model.
我在我的两个模块中使用了 Kotlin Multiplatform,但我不知道它是否相关。
看起来这个问题是已知的并在以下位置进行了跟踪:
Invalidate caches and Restart worked for me
如果您担心保存本地历史记录和其他缓存数据,您也可以先尝试重新启动 IDE。