':app:transformClassesWithDependencyCheckerForDebug'.的解决

来源:互联网 发布:淘宝韩国泡菜排名榜 编辑:程序博客网 时间:2024/05/22 01:59

错误:

Error:Execution failed for task ‘:app:transformClassesWithDependencyCheckerForDebug

详细错误:

Error:Execution failed for task ‘:app:transformClassesWithDependencyCheckerForDebug’.
org.gradle.api.internal.changedetection.rules.DescriptiveChange cannot be cast to org.gradle.api.tasks.incremental.InputFileDetails
he may be corrupt (this sometimes occurs after a network connection timeout.)
href=”syncProject”>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.
href=”stopGradleDaemons”>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.

解决方法:

删除.gradle 下所有子文件,Clean 即可.(.gradle 可空不可删)

End

0 0