Share the post "How To Fix Android Studio Compile Error DefaultFileCollectionSnapshotter Using Gradle"
The solution to this is easy. Delete the .gradle folder in your project folder. Then look for the icon in Android Studio (see image).
It says Sync Project with Gradle Files. Click that button and all should be well.