错误场景:在新的Moudle中导入
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
运行报错:
Unresolved reference: XXX
解决办法:
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
错误场景:在新的Moudle中导入
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
运行报错:
Unresolved reference: XXX
解决办法:
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
本文标题:Kotlin报错:Unresolved reference: X
本文链接:https://www.haomeiwen.com/subject/sumjuqtx.html
网友评论