今天我将

Android Studio更新为2.2 ..我不确定这是因为更新,但是当我运行应用程序时出现此错误

Information:Gradle tasks [:app:clean, :app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources, :app:assembleDebug]

Error:Execution failed for task ':app:transformClassesWithJavaResourcesVerifierForDebug'.

> org.gradle.api.internal.changedetection.rules.DescriptiveChange cannot be cast to org.gradle.api.tasks.incremental.InputFileDetails

ay be corrupt (this sometimes occurs after a network connection timeout.)

Re-download dependencies and sync project (requires network)

The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.

Stop Gradle build processes (requires restart)

Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

Information:BUILD FAILED

Information:Total time: 7.336 secs

Information:1 error

Information:0 warnings

Information:See complete output in console

我试图清理和重建应用程序,但没有任何影响

Logo

一站式 AI 云服务平台

更多推荐