Sujet : Re: Muntashirakon App Manager is, IMHO, by far, the best app manager on Android
De : andrew (at) *nospam* spam.net (Andrew)
Groupes : comp.mobile.androidDate : 03. Jun 2024, 10:51:49
Autres entêtes
Organisation : BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID : <v3k3nk$2err$1@nnrp.usenet.blueworldhosting.com>
References : 1 2 3 4 5 6 7 8
User-Agent : PiaoHong.Usenet.Client.Free:1.65
Andy Burns wrote on Mon, 3 Jun 2024 09:55:54 +0100 :
Does anyone know how to get a Debug log out of a "Debuggable" package?
LogCat?
Hmmm... never used it... Don't even know what it is...
<
https://www.google.com/search?q=how+to+use+Android+logcat+debugger>
*View logs with Logcat*
<
https://developer.android.com/studio/debug/logcat>
"When an app throws an exception, Logcat shows a message followed by
the associated stack trace containing links to the line of code."
But that link was for developers.
I need something for users.
<
https://developer.android.com/studio/debug>
"Before you can begin debugging, do the following:
1. Enable debugging on your device.
If you're using the emulator, debugging is enabled by default.
But for a connected device, you need to enable debugging in the
device developer options.
2. Run a debuggable build variant.
Use a build variant that includes debuggable true
(isDebuggable = true in Kotlin scripts) in the build configuration."
3. If your app is already running on your device, you can start
debugging without restarting your app as follows:
Click Attach debugger to Android process .
In the Choose Process dialog, select the process you want to attach
the debugger to.
That should fit what I'm doing, right?
Let me try it out.
BTW, I saw your post about the battery status going south all of a sudden,
and I looked at your image you kindly uploaded - so let's see what others
say as my experience is the battery lasts forever on my older device.