com.android.dex.DexException: Multiple dex files define

后端 未结 5 633
暗喜
暗喜 2021-01-01 10:05

I am using Android Studio 0.4.2. Opened project from a friend who is using 0.3.2. Tried to compile but got exception.

Execution failed for task \':JuiceTV:d         


        
5条回答
  •  南笙
    南笙 (楼主)
    2021-01-01 10:48

    I just had the same issue and I discovered that my application and a library were referring to 2 versions of the same jar.

    I did a search and my application.iml file clearly showed the duplicates.

    
    
    

    I replaced the older v3 version with the v4 version and it worked after a clean rebuild.

提交回复
热议问题