Firebase错误,我的项目中没有使用Firebase

时间:2016-07-04 06:22:42

标签: android google-maps firebase

我正在使用GoogleMap应用程序我没有使用Firebase ,但我得到Firebase Error

我已尝试使用multiDexEnabled true而没有它,但它无法正常工作。

我已尝试更新Google Play Services,但它无法正常使用

Android 6.0模拟器

中工作正常

它在4.4.2实际设备和 4.1.1模拟器

中给出了错误
 java.lang.NoClassDefFoundError: com.google.firebase.FirebaseOptions

 at com.google.firebase.FirebaseApp.zzbu(Unknown Source)

的build.gradle

 apply plugin: 'com.android.application'

android {
    compileSdkVersion 24
    buildToolsVersion "24"

    defaultConfig {
        applicationId "test.navigationdrawer"
        minSdkVersion 11
        targetSdkVersion 24
        versionCode 1
        versionName "1.0"
        multiDexEnabled true


    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:24.0.0'
    compile 'com.android.support:design:24.0.0'
    compile 'com.google.android.gms:play-services:9.0.2'


}

这是我的SDK图片

enter image description here

0 个答案:

没有答案