0

In my gralde file ,I add ONLY two complies:

compile ('com.android.support:appcompat-v7:23.4.0')
compile('com.facebook.fresco:fresco:0.14.1')

When build project, I got this error:

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;

While I exclude support-v4 like below, error exists also.

 compile ('com.android.support:appcompat-v7:23.4.0') 
        {
             exclude module: 'support-v4' 
        }   

OR

 compile('com.facebook.fresco:fresco:0.14.1') 
        { 
            exclude module: 'support-v4' 
        }

Any of them don't work.

I was sad , I didn't find the solve way , wasted a whole day!

I'm SuperMan
  • 653
  • 7
  • 20

1 Answers1

0

Updating your support library to v24.2.1 should fix this.

Alexander Oprisnik
  • 1,212
  • 9
  • 9