Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JayceG opened this issue Sep 26, 2023 · 0 comments
Open

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

JayceG opened this issue Sep 26, 2023 · 0 comments

Comments

@JayceG
Copy link

JayceG commented Sep 26, 2023

错误信息:
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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant