赞
踩
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
- 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
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。