Answer the question
In order to leave comments, you need to log in
Android app crashed again, how to solve?
Hello, help urgently please I wrote the first application, there are no errors in android studio. APK is installed in the smartphone, BUT it does not start, writes this error:
For 1 month I can not find the problem, I tried everything.
The application works with Firebase Auth, Firestore
Here is the link of the Project Scripts file below
https://drive.google.com/file/d/1n15wPIvSuES_kJ2zJ...
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Well... have you tried logging and debugging?
What does logcat output? Have you tried adding an Exception Breakpoint in Android Studio and catching the exception.
Simply, a screenshot where it says that the application has an error is not enough.
Also try to reproduce the bug on different android versions etc.
It would be great if you could describe exactly what EVERYTHING you tried.
Specifically, in your case, you need to try to watch logcat, this is in Android Studio when you run the application on a connected phone or emulator.
Here's a video tutorial about logcat
https://www.youtube.com/watch?v=cCmkOQcOex4
PS I was not too lazy to look into your code, and there you can see with the naked eye that you get null in postButton (because findViewById(R .id.post_button) will not find this button in layout.activity_main)
And then you try to hang a handler on postButton.
But I'm sure it's not the only mistake, learn how to use logcat.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question