小工具知识网

当前位置: 首页 > 行业知识 > Android Could not create task ‘:app:processDebugResources‘.

行业知识

Android Could not create task ‘:app:processDebugResources‘.

2026-11-02 11:29:57 来源:互联网转载

Could not create task ':app:processDebugResources'.

Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_cindex.php/tags-1038.html" >ore() 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_HOMEdistributionPath=wrapper/distsdistributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zipzipStoreBase=GRADLE_USER_HOMEzipStorePath=wrapper/dists//修改文件distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip

上一篇:bad怎么读发音语音?

下一篇:怎么测试服务器配置?