Questions tagged [android-logcat]

Logcat is the command to view and filter information from the Android logging system, but more often the name is used as a synonym for the Android logging system itself.

Logcat is the command to view and filter information from the Android logging system, but more often the name is used as a synonym for the Android logging system itself.

Logging information from Logcat is vital for diagnosing problems and debugging Android apps.

To retrieve information from logcat manually the Android Debug Bridge (ADB) command line tool is used. Alternatively the Eclipse IDE provides a logcat view in its Android DDMS perspective, that automatically retrieves logging information

Detailed information on the logcat command is available at the Android Developers API.

For non-developer questions, see the Android Enthusiasts StackExchange.

1085 questions
24
votes
1 answer

Remove time, date, and package name from System.out.print in Android Studio logcat

I want to remove the following sort of text "06-11 14:36:59.814 3951-4564/example.myapplication I/System.out﹕" from my system.out.prints in my app. How can I accomplish this?? I am using android studio
user4875457
24
votes
3 answers

Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 32140

50% of the time when running my app I'm getting this error 06-20 12:56:51.183: A/libc(32140): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 32140 (example.www) I just have to reopen the app and then it works. But I don't know why I'm…
mXX
  • 3,595
  • 12
  • 44
  • 61
24
votes
7 answers

Android logcat "application" column is always empty

Android logcat "application" column is always empty. I have latest version of android tools.
Alexey Zakharov
  • 24,694
  • 42
  • 126
  • 197
23
votes
3 answers

What are "tag" and "id" on Layouts?

I know how the switch statement works but I don't know what this means (R.id.webbutton). Can anyone please explain what it is and also what is TAG? Is there any guide for the beginners? I mean absolute beginners.
vishalmullur
  • 1,094
  • 4
  • 14
  • 32
22
votes
3 answers

Print a List to logcat

I can see that the log.d requires Log.d(String TAG, String). How do I print to the android debug logcat a List String instead of just a String?
johnsonjp34
  • 3,139
  • 5
  • 22
  • 48
22
votes
2 answers

How to disable logcat Text wrap in Eclipse Juno

I'm using the latest Eclipse Juno to develop Android applications. My problem is that the logcat text messages are wrapped after about 80 characters (even when the Text column is much wider then those 80 characters). This is rather annoying because…
ndsmyter
  • 6,535
  • 3
  • 22
  • 37
21
votes
2 answers

How Does ADB Logcat Timestamping Work

I'm trying to figure out when events happen on my AirPad so I'm issuing the logcat command: adb logcat -v time -d -b radio -b events -b main -b system -b radio In looking at the timestamps, however, each buffer's first timestamp seems to start…
user927728
  • 319
  • 1
  • 2
  • 5
21
votes
4 answers

Where does LogCat's Log.x() output go when running Android JUnit tests?

I noticed that when testing plain Java classes via test classes derived from TestCase and AndroidTestCase, LogCat output disappears. Is it possible to still capture the output of these messages? or my only recourse is to use the much more sluggish…
uTubeFan
  • 6,664
  • 12
  • 41
  • 65
21
votes
12 answers

Eclipse LogCat shows only the first letter from each message

I installed android SDK and plugin on eclipse 4.4, and LogCat shows only the first letter from each message. an screenshot: The problem is probably in eclipse as I can see the LogCat well while running 'adb logcat'. I tried to restart eclipse,…
AK87
  • 613
  • 6
  • 24
21
votes
1 answer

Huawei Ideos - LogCat not responding

I have a Huawei Ideos X3, which is supposedly properly connected through usb (driver was installed, and no yellow exclamation mark on device manager). I can install and run my Apps through Eclipse, however i don't get any response on LogCat. So i…
koul7
  • 213
  • 2
  • 7
20
votes
5 answers

Detailed debug logs with Volley

In Restkit on iOS there is a verbose debug option. RKLogConfigureByName("*", RKLogLevelTrace);. Does anyone know if there is an equivalent for Volley. Basically I am going straight to the ErrorListener but I get no additional info in LogCat.…
Mika
  • 5,807
  • 6
  • 38
  • 83
19
votes
4 answers

How to debug BOOT_COMPLETE broadcast receiver's "Force Close" crashes?

Since the phone restarts and thus gets disconnected from the Eclipse debugger/LogCat while it's booting up, how do I see where my boot complete broadcast receiver is crashing? I am performing some actions in the onReceive() of my public class…
Vikas Singh
  • 1,781
  • 7
  • 27
  • 54
18
votes
2 answers

Can we turn off "chatty" in logcat?

So I'm trying to find an elusive bug in a large codebase. As such, I've put a lot of logging into my app. I'm lucky enough to have multiple testers working on this. However, I've found that a lot of my logcat logs are missing. They're hidden as…
TheUmpteenth
  • 183
  • 1
  • 1
  • 5
18
votes
2 answers

Can logcat be used to log NDK code in Android? Or what are logging options from NDK?

How would one write logs from inside Native code in Android (NDK)? What are the available options? For example, can logcat be used from inside of NDK to write logs? Or since its more upper level in android, it can not be accessible from NDK? At the…
22332112
  • 2,337
  • 5
  • 21
  • 42
17
votes
5 answers

Android autofill: dispatchProvideAutofillStructure() not laid out

I have configured my app to support Android Oreo with compileSdkVersion 26. I've also set up android:autofillHints="phone" for my phone number input field. When I tap on the field, I can see "Autofill" popping up. However, when I tap on "Autofill",…
Juuso Ohtonen
  • 8,826
  • 9
  • 65
  • 98
1 2
3
72 73