+ 5
Android-firebase app
I have created an login activity using Android studio and firebase and I am trying to login to the app(I have already entered userid and password in firebase website). Everytime I am trying to open the app it stops. I am attaching code(xml and java) for reference. I have run the code on Android studio. https://code.sololearn.com/cTUy1pLoNf6F/?ref=app
7 odpowiedzi
+ 4
My Android knowledge is still limited and I have zero firebase knowledge so I don't believe I can help. I will attempt it anyway because I could get lucky.
+ 3
John Wells please have a look at this
+ 3
You're not complete the process 😑
+ 1
I have tried that but it is still not working Talha Iqbal
0
I am not sure if this is the problem but I think you should call the finish method AFTER (not before) calling the startActivity method.
I think that calling the finish method before starting the other activity kills your current activity and therefore you cannot go from your current activity (which doesn't exist anymore) to the other i.e. the target activity.
0
Harshit, can you please share some error messages that you get when the app crashes? It can really help to know the cause. You can email the error messages' snapshot on my email: talhaiqbal801@gmail.com