https://kotlinlang.org logo
#android
Title
# android
j

jurajsolarml

11/16/2018, 3:32 PM
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

Denis A

11/16/2018, 3:45 PM
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

Tobi

11/16/2018, 4:44 PM
This is your error
Default FirebaseApp is not initialized
. Move
FirebaseApp.initializeApp(this)
to line
37
j

jurajsolarml

11/16/2018, 4:54 PM
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

rheza_h

11/17/2018, 12:04 AM
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

jurajsolarml

11/17/2018, 6:28 AM
Ok, thanks
👍 1