D
D
davitarevi2020-04-22 00:18:57
Java
davitarevi, 2020-04-22 00:18:57

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:
5e9f5fec30252151397425.jpeg

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

3 answer(s)
O
Orkhan, 2020-04-22
Hasanly @azerphoenix

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.

S
Sergey Vodakov, 2020-04-22
@WaterSmith

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.

E
EmiQ, 2021-03-23
@EmiQ

Were you able to figure it out? If so, please write how.
There is a lot of water in the comments

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question