Error: Failed to capture snapshot of output files for task "transformClassesWithDexForDebug" during validation

I am new to Android app development and trying to create a simple interface, I get this error. how to solve it?

the entire error instruction is as follows:

Error: Failed to capture a snapshot of the output files for the "transformClassesWithDexForDebug" task during validation update.

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

+4
source share
2 answers

The problem is the latest update to the studio version of Android with Instant Run. There is a serious problem with gradle, so you can either disable Anti-Virus or the instant start function until then.

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

+3
source

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

+3
source

Source: https://habr.com/ru/post/1663710/


All Articles