Hello please help.I am a beginner. I've tried tryi...
# android
j
Hello please help.I am a beginner. I've tried trying ways to initialize Firebase still bugging me but I can not find it where it can be.AS, 3.2.1 Thank you https://hastebin.com/vaficulena.cs https://hastebin.com/javidimawa.cpp
stackoverflow 4
d
Hi, check your gradle dependencies (see manual setup in official example - https://firebase.google.com/docs/android/setup)
my gradle,dont work firebase auth :((
t
This is your error
Default FirebaseApp is not initialized
. Move
FirebaseApp.initializeApp(this)
to line
37
j
ok,thanks
I fixed it. I'm writing a mistake in line 47. Is there a mistake ? Should it be different? Thank you https://hastebin.com/qapeyazejo.cpp https://hastebin.com/uvaxukimit.pl
r
Based on the error log, you haven't initialize the auth variable. Put this on
auth = FirebaseAuth.getInstance();
See https://firebase.google.com/docs/auth/android/start/
j
Ok, thanks
👍 1