Android Studio build error - Multiple dex files define Landroid/support/v4/

前端 未结 11 841
别那么骄傲
别那么骄傲 2020-12-17 08:56

I am unable to build my project in Android Studio. I get the following error:

Error:Android Dex: [RaditazAndroid] Unable to execute DX
Error:Android Dex: [R         


        
11条回答
  •  醉酒成梦
    2020-12-17 09:38

    I used a different approach by merging ABS res folder with my res folder and using ActionBarSherlock.jar as a global lib.

    Works well so far and hope this help someone! But this is a hack since I was fed up of doing many things and I can't use Gradle since some of the other developers using Eclipse ADT without Gradle.

    Root Cause for the issue is using android-support-v4 in ABS and my project both and it's complicating DEX.

提交回复
热议问题