Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error:Failed to capture snapshot of output files for task 'transformClassesWithDexForDebug' during up-to-date check

i am new to android app development and trying to build a simple interface, i am getting this bug. how do i resolve it?

the whole bug statement is this :

Error:Failed to capture snapshot of output files for task 'transformClassesWithDexForDebug' during up-to-date check.

java.io.FileNotFoundException: F:\AndroidStudioProjects\thirdone\app\build\intermediates\transforms\dex\debug\folders\1000\10\com.android.support-appcompat-v7-25.0.1_b5d942cb3c7f3d8ae436ecd262f1d7a26bba1e06\classes.dex (The system cannot find the file specified)

like image 224
Shreya Avatar asked Dec 14 '16 07:12

Shreya


2 Answers

The issue in the latest android studio update is with the Instant Run feature. There happens to be a serious issue with gradle, so you may either turn off the Anti-Virus or the Instant Run feature till then.

Resource: https://code.google.com/p/android/issues/detail?id=229918

like image 79
Abhishek Jain Avatar answered Sep 19 '22 07:09

Abhishek Jain


I am using android studio 2.3 and solved this issue by disabling the anti-virus protection.

like image 36
amresh thakur Avatar answered Sep 19 '22 07:09

amresh thakur