相关疑难解决方法(0)

获取IntelliJ Kotlin插件和gradle来匹配

我正在尝试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. 
Run Code Online (Sandbox Code Playgroud)

据推测,Kotlin的Gradle和IntelliJ版本需要匹配,但安装的Kotlin插件是: 1.0.0-rc-1007-IJ143-11

我没有在任何公共存储库中看到这一点.我在gradle项目中声明的最新版本是:

buildscript {
    ext.kotlin_version = ' 1.0.0-rc-1007-IJ143-11'
Run Code Online (Sandbox Code Playgroud)

..IntelliJ 16可以与Kotlin和Gradle一起使用吗?

java intellij-idea gradle kotlin

2
推荐指数
1
解决办法
969
查看次数

标签 统计

gradle ×1

intellij-idea ×1

java ×1

kotlin ×1