安卓开发遇到如下错误:
* What went wrong:
Execution failed for task ':app:buildInfoDebugLoader'.
> Exception while doing past iteration backup :
Source E:\androidprojects\ServicePractice\app\build\intermediates\builds\debug\45722994204319\classes.dex and destination
E:\androidprojects\ServicePractice\app\build\intermediates\builds\debug\45722994204319\classes.dex must be different
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
我的解决方法是:
先clean project, 然后再rebuild project.即可完美解决