将firebase sdk添加到gradle面向下面的问题.
错误:任务':app:transformClassesWithJarMergingForDebug'的执行失败.
com.android.build.api.transform.TransformException:java.util.zip.ZipException:重复条目:com/google/android/gms/internal/zzbn.class
请帮助!!
This is the APP gradle file
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'com.fernandocejas.frodo'
apply plugin: 'realm-android'
apply plugin: 'com.neenbedankt.android-apt'
android {
compileSdkVersion 23
buildToolsVersion '23.0.2'
defaultConfig {
applicationId "com.bt.bms"
minSdkVersion 16
targetSdkVersion 23
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
versionCode 6
versionName "0.0.11"
multiDexEnabled true
// Following line of code added to provide support for blurring image using renderscript
renderscriptTargetApi 16
renderscriptSupportModeEnabled true
}
signingConfigs {
bms_debug_config {
keyAlias 'androiddebugkey'
keyPassword 'android'
storeFile file('bms_new_app_debug.keystore') …Run Code Online (Sandbox Code Playgroud)