Error:Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'.
> com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lrx/android/plugins/RxAndroidPlugins;



是的《我知道有多余的包,只是不知道是哪个包。要怎么去重

下面是我的依赖包



/bmob

compile('cn.bmob.android:bmob-sdk:3.5.1'){

exclude group: 'rx.java'

}

compile 'cn.bmob.android:http-legacy:1.0'

compile 'com.youth.banner:banner:1.3.3'

compile 'com.zhy:base-adapter:3.0.3'

compile 'de.hdodenhof:circleimageview:2.1.0'

//material-dialogs

compile 'com.afollestad.material-dialogs:core:0.9.0.2'

compile 'com.zhy:flowlayout-lib:1.0.3'

compile 'com.library.tangxiaolv:telegramgallery:1.0.1'

compile 'in.srain.cube:ultra-ptr:1.0.11'

compile 'in.srain.cube:cube-sdk:1.0.44@aar'

debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta2'

releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2'

compile 'com.jakewharton:butterknife:7.0.1'

compile 'com.jakewharton.rxbinding:rxbinding:0.4.0'

compile 'com.github.bumptech.glide:glide:3.7.0'

compile 'com.orhanobut:logger:1.15'

compile 'com.trello:rxlifecycle:0.8.0'

compile 'com.trello:rxlifecycle-components:0.8.0'



通过展开,发现bmob这个包中有rxAndroid这个