PianoTranscription_Android icon indicating copy to clipboard operation
PianoTranscription_Android copied to clipboard

A build operation failed. Could not create task ':app:processDebugResources'.

Open NeuraVoxel opened this issue 8 months ago • 1 comments

A build operation failed. 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.

NeuraVoxel avatar Aug 13 '25 13:08 NeuraVoxel

Hi Jeff,

Most probably, the Android Gradle Plugin and the Gradle version are incompatible. Image The table of compatible versions can be found here: https://developer.android.com/build/releases/gradle-plugin#updating-gradle

For example, for me it is working now with versions 8.7.3 and 8.9. I.e., in the project-level build.gradle file, try changing: classpath 'com.android.tools.build:gradle:7.2.0-alpha06' to: classpath 'com.android.tools.build:gradle:8.7.3'

And in the file gradle/wrapper/gradle-wrapper.properties, try changing: distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip to: distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip

It may fix this specific issue. However, it has been a long time since I last looked at this project, and there will surely be lots and lots of other issues.

BShakhovsky avatar Aug 14 '25 14:08 BShakhovsky