Why Android Gradle preDexDebug “Source and destination must be different” build failed?

前端 未结 2 1780
长情又很酷
长情又很酷 2021-01-03 19:45

I have an Android application built with Android Studio 0.8.1 and facing the issue:

Error:Execution failed for task \':app:preDexDebug\'.
> java.lang.Ille         


        
相关标签:
2条回答
  • 2021-01-03 20:14

    Delete the build folder in your project and invalidate cache in android studio, restart android studio

    0 讨论(0)
  • 2021-01-03 20:30

    The answer was just to clean the project. I was having same problem for some time.

    Build -> Clean Project

    0 讨论(0)
提交回复
热议问题