美文网首页
Kotlin报错:Unresolved reference: X

Kotlin报错:Unresolved reference: X

作者: 梦里风吹过 | 来源:发表于2019-03-01 20:33 被阅读0次

    错误场景:在新的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