android studio 出现Error:Execution failed for task ':app:buildInfoDebugLoader'.的解决办法

来源:互联网 发布:linux基础教程第二版 编辑:程序博客网 时间:2024/06/01 08:58

今天在使用androidstudio的过程中,改了代码点击运行的时候发现android studio总是报

Error:Execution failed for task ':app:buildInfoDebugLoader'.
> Exception while doing past iteration backup : Source /home/ruiqin/AndroidStudioProjects/DouTuGaoShou/app/build/intermediates/builds/debug/5818437215551/classes.dex and destination /home/ruiqin/AndroidStudioProjects/DouTuGaoShou/app/build/intermediates/builds/debug/5818437215551/classes.dex must be different

在网上搜索无果后,最后自己找出解决办法,那就是重新加载工程。

点击菜单栏Build--->RebuildProject

重新加载一下,再点击运行,就搞定了!

0 0