Android Firebase Authentication not working

陌路散爱 提交于 2019-12-05 22:36:39
  • I am not sure if you have imported the generated google-services.json file in the app/ folder of your project. If you didn't, follow this link : https://firebase.google.com/docs/android/setup in section "Add Firebase to your app".

  • If it still shows you the error, you can try editing the dependencies in the build.gradle file in your app/ folder as following: compile 'com.google.firebase:firebase-core:9.2.0' compile 'com.google.firebase:firebase-auth:9.2.0' to compile 'com.google.firebase:firebase-core:9.0.2' compile 'com.google.firebase:firebase-auth:9.0.2'

Hope it helps!

I found this error when I was running the app using virtual machine Genymotion API 21. The solution for my problem is install (add) google play service into virtual machine Genymotion. The file zip can be download from this link ARM Translation Installer v1.1 and google play service Android version 5.0. To install google play service just drug and drop both of file zips into home screen Android Genymotion emulator and reboot the emulator by running adb reboot or click power button of Android Genymotion emulator.

Yes you are missing enabling the SIGN-IN-METHOD under Authentication. Here is screenshot, after enabling the method you will not get this error.

Now try uploading files on storage, now it will work.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!