Skip to content Skip to sidebar Skip to footer

Why Is Connecting To Firebase Giving My Application An Issue From Android Studio

build.gradle (app): dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { e

Solution 1:

change

compile'com.google.android.gms:play-services:7.5.0'

to

compile'com.google.android.gms:play-services:9.8.0'

In conclusion:

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
    exclude group: 'com.android.support', module: 'support-annotations'
})
compile'com.android.support:appcompat-v7:24.2.1'compile'com.android.support:design:24.2.1'compile'com.android.support:support-v4:24.2.1'compile'com.google.android.gms:play-services:9.8.0'compile'com.google.firebase:firebase-core:9.8.0'

testCompile 'junit:junit:4.12'
}

Solution 2:

Update google play service version number on build.gradle file

https://developers.google.com/android/guides/setup

Post a Comment for "Why Is Connecting To Firebase Giving My Application An Issue From Android Studio"