Android Studio错误如下:
Error:FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:buildInfoDebugLoader'.
> Exception while doing past iteration backup : Source D:\Android Studio workspace\Test\app\build\intermediates\builds\debug\31608184887113\classes.dex and destination D:\Android Studio workspace\PointLife\NFCpay\app\build\intermediates\builds\debug\31608184887113\classes.dex must be different
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
解决方法:
Android studio里Build
-> Rebuild Project 然后再运行就行了。
或者Run
-> Clean and Rerun (或Run
-> Clean and Rerun'app')
本文介绍了如何解决在使用Android Studio时遇到的构建失败问题。错误出现在执行“:app:buildInfoDebugLoader”任务期间,提示源文件和目标文件必须不同。解决方法包括选择“Build”->“Rebuild Project”重建项目,或选择“Run”->“Clean and Rerun”清理并重新运行。
3199

被折叠的 条评论
为什么被折叠?



