救命,升级了 gradle ,结果 sync 报错了
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4k
- Forks
- 631
- PR merge metrics
- No merged PRs in 30d
Description
错误信息:
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"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with gradle-wrapper.properties and the root build.gradle configuration, reproducing the sync failure with Gradle 8.0, Android Gradle Plugin 8.1.1, and Kotlin 1.8.10. Trace the cc-register plugin failure and the reported FD_INTERMEDIATES lookup; done means the project syncs successfully or the incompatible configuration is clearly identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, groovy, java, kotlin
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100