I create an application using firebase. When I run on the emulator and try to log in, I get the error:
Local module descriptor class for com.google.firebase.auth not found
Google Play services out of date. Requires 9452000 but found 8185470
And on the emulator pops up this:
Update Google Play services
"AppName" won't run update google play services
I updated everything as advised in the English part of the forum, but it did not help. Any idea how to fix this? Thank!
This is part of build.gradle (module)
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.google.firebase:firebase-database:9.4.0' compile 'com.google.firebase:firebase-auth:9.4.0' compile 'com.google.firebase:firebase-core:9.4.0' compile 'de.hdodenhof:circleimageview:1.3.0' compile 'com.github.bumptech.glide:glide:3.6.1' } apply plugin: 'com.google.gms.google-services' build.gradle (project)
dependencies { classpath 'com.android.tools.build:gradle:2.1.0' classpath 'com.google.gms:google-services:3.0.0' And the google play services version on the emulator: 8.1.85