4

I'm stuck in my first real-time firebase app. :( I was making a simple registration app using firebase and but I found a runtime error . please remember I'm using android-studio 2.3.

Note- I've included google-services.json also in the required directory.

Error is enter image description here

My project-level gradle file is enter image description here

Note:- I think this problem might be----> "due to my sdk manager .but I dont'know how I check which sdk files are required for android studio 2.3 working with firebase".

                                   or,

My app-level gradle file also may contain wrong firebase-auth /firebase-core dependency. please check it below in picture:-

enter image description here

enter image description here

Please guide me with pictorial way because this problem is not explained anywhere with a right solution. Thanks in advance :)

Shivam Sharma
  • 1,015
  • 11
  • 19
  • please check also when I included firebase-auth:10.2.1 it gives me error---> Can not resolve this file. then, I used firebase-auth:9.4.0 – Shivam Sharma Mar 24 '17 at 15:07
  • 1
    its a bug they are having, I had a similar issue. try using version 10.2.0 for now. – meh Mar 24 '17 at 15:36
  • I used 10.2.0 & now my app is insalling into my emulator correcctly but whenever I submit username & password then, it gotta crashed ...nd throw runtime error on logcat window such as--> com.firebase.client.FirebaseException: Invalid Firebase url specified – Shivam Sharma Mar 25 '17 at 02:46
  • please help me :( I'm totally frustated from 3 days . nothing is working.. And cant start my project :( – Shivam Sharma Mar 25 '17 at 02:49
  • 1
    best solution is upgrade your android studio to 2.3 and then use firebase assistent available in tools section . and choose firebase feature and directly connect to that firebase service online..then it'll automatically add /download all dependencies required for that firebase feature and place auto-sync also.. :) – Shivam Sharma Mar 26 '17 at 17:17
  • you can see - [This answer](https://stackoverflow.com/questions/45905719/no-static-method-zzb-when-user-firebase-database-and-facebook-account-kit) - hope it solve you problem. – Mahmudur Rahman Aug 28 '17 at 10:59
  • @MahmudurRahman only one solution I found to reinstall the android studio... no one soltion worked for me – Shivam Sharma Aug 29 '17 at 13:04

0 Answers0