解决报错:Failed to capture snapshot of output files for task ' ' during up-to-date check

参考资料:Here

问题描述:

使用 React Native 框架开发 Android 应用中出现的报错:

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

解决办法:

删除项目文件中安卓目录下的 build 文件夹,我的路径:E:\Project\android\app\build,重新运行程序即可。

END

猜你喜欢

转载自blog.csdn.net/Dora_5537/article/details/89319294
今日推荐