【发布时间】:2025-12-29 08:15:11
【问题描述】:
我正在尝试 IntelliJ 16,早期访问版本,但我的项目无法编译:
Error:(16, 17) Kotlin: Unresolved reference: substring
(note: this may be caused by the fact that some classes compiled with
an incompatible version of Kotlin were found in the classpath. Such
classes cannot be loaded properly by this version of Kotlin compiler.
想必Kotlin的Gradle和IntelliJ版本需要匹配,但是安装的Kotlin插件是:1.0.0-rc-1007-IJ143-11
我在任何公共存储库中都没有看到这个。我在gradle项目中声明的最新的是:
buildscript {
ext.kotlin_version = ' 1.0.0-rc-1007-IJ143-11'
。 . IntelliJ 16 可以与 Kotlin 和 Gradle 一起使用吗?
【问题讨论】:
标签: java intellij-idea gradle kotlin