andoidstudio 打包bug
离玖拾
这个作者很懒,什么都没留下…
展开
-
R‘ is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3
R' is only available since Kotlin 1.3.50 and cannot be used in Kotlin 1.3在运行项目时,编译出错解决:更改你的 kotlin-gradle-plugin 插件到正确版本。我的是:classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.20"其他implementation 'org.jetbrains.kotlinx:kotlinx-c.原创 2021-11-02 15:03:04 · 3154 阅读 · 0 评论 -
Android Studio Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
Android studio 使用gradlew命令打包时,出现Could not initialize class org.codehaus.groovy.runtime.InvokerHelper错误。解决方法:安装Java SDK版本:14或更高版本。 在gradle-wrapper.properties请使用级版本6.3或以上。 例如: distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.原创 2021-01-22 13:19:04 · 15751 阅读 · 5 评论