Strange gradle error android studio

Error: org.gradle.api.internal.changedetection.state.DefaultFileCollectionSnapshotter $ FileCollectionSnapshotImpl could not be passed to org.gradle.api.internal.changedetection.state.OutputFilesCollectionSnapshotter $ OutputFilesSnapshot Possible causes of this unexpected error

  • The gradle dependency cache may be corrupted (this sometimes happens after a network connection timeout). Restart dependencies and synchronization project (network required).
  • The state of the Gradle build process (daemon) may be corrupted. Stopping all Gradle daemons can solve this problem. Stop Gradle build processes (reboot required)
  • Your project may use a third-party plugin that is incompatible with other project plugins or the Gradle version requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
+1
java android build.gradle
Jun 27 '16 at 17:15
source share
1 answer

I solved this by removing appDirectory / .Gradle / 2.10 and then using the gradle sync project

+3
Jun 27 '16 at 18:44
source share



All Articles