您的位置:首页 > 其它

Error:org.gradle.api.internal.changedetection.state.DefaultFileCollectionSnapshotter$FileCollectionS

2015-12-25 10:29 423 查看
(转载)http://stackoverflow.com/questions/26354153/android-studio-gradle-error-at-compile-time

I have an Android App in Android Studio. When I build project with Gradle File,it gives me one error at compile time. Error Report:
Error:org.gradle.api.internal.changedetection.state.DefaultFileCollectionSnapshotter$FileCollectionSnapshotImpl cannot be cast to
org.gradle.api.internal.changedetection.state.OutputFilesCollectionSnapshotter$OutputFilesSnapshot


解决方案:

1.delete {project dir}/.gradle/1.9

2.Sync Project with Gradle File

把项目中的.gradle文件夹删除,然后同步即可。

没有添加任何相关的信息;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: