在Android Studio 2.1.3中构建错误 [英] Build Error in Android Studio 2.1.3
问题描述
我正在使用android studio 2.1.3。我收到以下错误,尽管清除项目并重新重建,重新启动等...如何解决?
I am using android studio 2.1.3. I am getting the following error, in spite of clearing the project and rebuilding it again, restarting etc... How to solve it?
错误:任务执行失败:app:transformClassesWithJavaResourcesVerifierForDebug。
Error:Execution failed for task :app:transformClassesWithJavaResourcesVerifierForDebug.
org.gradle.api.internal.changedetection.rules.DescriptiveChange无法强制转换为org.gradle.api.tasks .incremental.InputFileDetails
可能已损坏(这有时会在网络连接超时后发生。)
重新下载依赖项和同步项目(需要网络)
停止Gradle构建过程(需要重新启动)
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)
推荐答案
谢谢。
我使用的是Windows 8.1
我尝试删除应用程序文件夹中的.gradle文件夹。然后我清理了项目并再次构建它。它现在很精细。
I am using Windows 8.1 I tried deleting the folder .gradle in the application folder. Then I cleaned the project and build it again. IT WORKS FINE NOW.
这篇关于在Android Studio 2.1.3中构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!