android - ExecException when adding the new support design library -


i'm trying add new support design library project:

compile 'com.android.support:design:22.2.0'

but try compile, following error:

error:execution failed task ':app:dexdebug'. com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'c:\program files\java\jdk1.8.0_40\bin\java.exe'' finished non-zero exit value 3

i've reached 65k method limit few libraries back, added multidex support , solver problem while ago.

here dependencies, if helps:

compile filetree(include: ['*.jar'], dir: 'libs') compile 'com.google.android.gms:play-services:7.5.0' compile 'com.jpardogo.materialtabstrip:library:1.0.9' compile('com.crashlytics.sdk.android:crashlytics:2.2.2@aar') {     transitive = true; } compile 'com.helpshift:android-aar:3.8.0' compile 'com.google.maps.android:android-maps-utils:0.3+' compile 'com.google.code.gson:gson:2.3' compile 'com.android.support:cardview-v7:22.0.0' compile 'com.loopj.android:android-async-http:1.4.5' compile 'com.squareup.picasso:picasso:2.5.2' compile 'de.greenrobot:eventbus:2.4.0' compile 'com.github.kierans:viewpagerindicator:138e5f5bd9' compile 'com.android.support:support-v4:22.2.0' compile 'com.balysv:material-ripple:1.0.2' compile 'it.neokree:materialnavigationdrawer:1.3.3' compile 'pl.charmas.android:android-reactive-location:0.6@aar' compile 'io.reactivex:rxjava:1.0.10' compile 'com.android.support:multidex:1.0.0' compile 'com.android.support:appcompat-v7:22.2.0' compile 'com.android.support:design:22.2.0' 

i know there lot of them, need them all.

you should consider changing compile 'com.google.android.gms:play-services:7.5.0' dependency, , grab portion of play services.

you can see guide @ https://developers.google.com/android/guides/setup#split , solve 65k issue well.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -