登录后更精彩...O(∩_∩)O...
您需要 登录 才可以下载或查看,没有账号?立即注册
×
Android Could not create task ‘:app:processDebugResources‘.
Could not create task ':app:processDebugResources'.
Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
出现这个的原因是 当前项目使用的android studio 换成了一个旧版本的Android studio
路径:gradle\wrapper\gradle-wrapper.properties
[Groovy] 纯文本查看 复制代码 distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
//修改文件
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
from: https://blog.csdn.net/qq_61104892/article/details/132893491
|