Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to find error how my app crashes in phone after some time

Tags:

android

when i am installing app in my phone through android studio my apps run properly because cable is connected when cable is removed from the phone my app crashes and i am not able to detect for what reason my app crashes? Please provide me helpful answer.

like image 872
Vishal Gedia Avatar asked Jan 25 '26 16:01

Vishal Gedia


2 Answers

when cable is removed from the phone my app crashes and i am not able to detect for what reason my app crashes?

Solution

Use crash reporter, which allows your to view crash-related information on the web when a crash occurs. It's easy to integrated into your project by reference each document.

  • Firebase crash reporter recommended
  • BugSense
like image 145
Ethan Choi Avatar answered Jan 27 '26 08:01

Ethan Choi


When caple is removed from the phone and the app crashes

At this time, you must not close the the dialog Unfortunately, You app have stopped ( if you close this dialog, you can not see the crash log later)

Then reconnect your phone with your computer by cable. Wait a little time (don't launch application again) and you will see the crash log in AndroidStudio.

like image 35
Linh Avatar answered Jan 27 '26 08:01

Linh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!