我是 Android 应用程序开发的新手,正在尝试构建一个简单的界面,但我遇到了这个错误。我该如何解决?
整个错误声明是这样的:
错误:在最新检查期间无法捕获任务“transformClassesWithDexForDebug”的输出文件快照。
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)
最佳答案
最新的 android studio 更新中的问题与 Instant Run 功能有关。 gradle 恰好有一个严重的问题,所以你可以关闭 Anti-Virus 或 Instant Run 功能。
资源:https://code.google.com/p/android/issues/detail?id=229918
关于java - 错误 :Failed to capture snapshot of output files for task 'transformClassesWithDexForDebug' during up-to-date check,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41136640/