Can I generate app crash reports on my phone?

Tech Talk, Tech News and Tech Support (Gadgets included)
Post Reply
User avatar
Bren
Posts: 6459
Joined: Thu Apr 16, 2009 2:44 am
Title: Everything went to hell after Empire.
Location: Pacifica, California

Can I generate app crash reports on my phone?

Post by Bren »

Here's the deal: I've sort of been advising somebody who's in the process of launching a new app and service.

His app keeps crashing on my Android phone. He lives in another country, so it's not like he can physically get a hold of my phone and learn what's happening.

But it occurred to me that, in the past, when I've had Weird Mac or Windows problems, y'all have sometimes had me look at logs viewable in Activity Monitor, or printable in Terminal, or whatever.

Surely my Android phone must have similar internal logs going on, yes?

If so, is there a way I can see those logs and send them to my friend and his dev team?

I Googled this, and found Web pages talking about developer tools which would provide such info, but I'm not a developer, and I'm hoping to avoid having to set up developer tools on my Mac and connect it to my phone, 'cause that just seems like a big hassle, and something that would involve a lot of learning on my part.

Is there an app I can install on the phone, or one already on it, which might yield the logs I'm looking for?

This is under Android 8.0.0 on a Samsung Galaxy S7, by the way.

I do not give Facebook or any entities associated with Facebook permission to use my pictures, information, messages or posts, both past and future. With this statement, I give notice to Facebook it is strictly forbidden to disclose, copy, distribute, or

User avatar
Betonhaus
Posts: 2911
Joined: Thu Aug 30, 2018 10:25 pm

Post by Betonhaus »

I think you'd have to root or put it into developer mode?

Does Linux and Linux derivatives even have an equivalent to Event Viewer?
User avatar
Pariah
Posts: 23163
Joined: Fri Mar 07, 2008 5:45 pm
Title: Know Your Enemy

Post by Pariah »

System Log. syslog.

Does this look like what is needed?

Image
Not even duct tape will fix stupid, but it can muffle the sound.
User avatar
maurvir
Posts: 26120
Joined: Mon Nov 15, 2010 10:13 pm
Title: Steamed meat popsicle

Post by maurvir »

Android isn't even close to being a normal Linux installation, particularly because root can't be assumed. If you have root access on your device, it works pretty much like any other Linux system, though.

The real answer is to get a copy of the Android SDK, which will allow you to debug apps on your device. Unfortunately, without root, there doesn't seem to be a way for an on-device app to read the logs of another app, though they can read system logs (usually)
User avatar
Bren
Posts: 6459
Joined: Thu Apr 16, 2009 2:44 am
Title: Everything went to hell after Empire.
Location: Pacifica, California

Post by Bren »

Does this mean I need to install Android SDK on my Mac and then do...


What, exactly?

Hmmmm.....

I do not give Facebook or any entities associated with Facebook permission to use my pictures, information, messages or posts, both past and future. With this statement, I give notice to Facebook it is strictly forbidden to disclose, copy, distribute, or

Post Reply