wandie
wandie

Reputation: 25

build unsuccessful in android studio

Hello I have a problem that I am experiencing when compiling my android application. It displays the error below. How can I solve the problem

Error:org.gradle.api.internal.changedetection.state.DefaultFileCollectionSnapshotter$FileCollectionSnapshotImpl 
cannot be cast to org.gradle.api.internal.changedetection.state.OutputFilesCollectionSnapshotter$OutputFilesSnapshot

Possible causes for this unexpected error include:

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

Upvotes: 0

Views: 251

Answers (1)

Rahul Teotia
Rahul Teotia

Reputation: 204

Delete {project dir}/.gradle/{version}.

Sync Project with Gradle File

Upvotes: 2

Related Questions