Failed To Capture Snapshot Of Output Files For Task
Error:Failed to capture snapshot of output files for task 'transformClassesWithDexForDebug' property 'streamOutputFolder' during up-to-date check. Failed to create MD5 hash for fi
Solution 1:
Solution 2:
This is a Gradle issue and you can find it here. So as of now just disable Instant Run. It worked for me.
Solution 3:
In android studio,
- Open the Settings or Preferences dialog: On Windows or Linux, select
File > Settings
from the menu bar. On Mac OSX, selectAndroid Studio > Preferences
from the menu bar. - Navigate to
Build, Execution, Deployment > Instant Run
. - Uncheck The box next to Restart activity on code changes.
Solution 4:
Set multiDexEnabled true in your buildType release class in your build.gradle file
Solution 5:
I was also getting the same error. But when i disabled Instant Run, Gradle started building. But i agree with those who think this is a Gradle issue. And until it gets resolve, disable Instant Run.
Post a Comment for "Failed To Capture Snapshot Of Output Files For Task"