I'm Working on a GoogleMap Application I'm not using Firebase but I am getting Firebase Error
I've tried with multiDexEnabled true
and without it, and it doesn't work.
I've tried updating Google Play Services
, but it doesn't work
It works fine in Android 6.0 emulator
It gives me error on a 4.4.2 real device and in the 4.1.1 emulator
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'
}
Here Is My SDK Image