CC icon indicating copy to clipboard operation
CC copied to clipboard

救命,升级了 gradle ,结果 sync 报错了

Open JayceG opened this issue 2 years ago • 6 comments

错误信息: Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'cc-register'.

Caused by: groovy.lang.MissingPropertyException: No such property: FD_INTERMEDIATES for class: com.android.builder.model.AndroidProject (这个可能是另外的错误)

gradle-wrapper.properties 配置为: distributionUrl=https://services.gradle.org/distributions/gradle-8.0-bin.zip

build.gradel 配置为: classpath 'com.android.tools.build:gradle:8.1.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10" //使用最新版

主模块依赖: implementation "androidx.core:core-ktx:1.9.0" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.10"

JayceG avatar Sep 26 '23 13:09 JayceG

兄弟我也遇到了,现在解决了吗?

wangdadao2012 avatar Jun 25 '24 01:06 wangdadao2012