问题描述
我使用的是 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 的执行失败.
org.gradle.api.internal.changedetection.rules.DescriptiveChange 不能转换为 org.gradle.api.tasks.incremental.InputFileDetails可能已损坏(这有时发生在网络连接超时之后.)重新下载依赖项并同步项目(需要网络)
org.gradle.api.internal.changedetection.rules.DescriptiveChange cannot be cast to org.gradle.api.tasks.incremental.InputFileDetailsay 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.1I 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 中的构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!