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
6
votes
0 answers

Customize LogCat Columns in Eclipse ADT

This SO thread suggests that it's possible to customize LogCat Columns from the command line. Is it possible to do the same for the DDMS view in Eclipse? Update: I am looking at ANDROID_LOG_TAGS env var. It looks promising.
an00b
  • 11,338
  • 13
  • 64
  • 101
5
votes
1 answer

Application exit automatically without any warning or error

I have developed application for OCR using tesseract Library, Application got exit during the execution of following code : /*... ... Other Code stuff ...*/ protected Boolean doInBackground(String... arg0) { /*... ... Other Code stuff …
5
votes
3 answers

What do the various colors in LogCat signify?

I Googled this and could not found a chart. Since the various Log possibilities are Verbose, Debug, Information, Warning,and Error, I have a couple of assumptions, but...: Verbose = ? Debug = ? Information = ? Warning = Yellow? Error= Red?
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
5
votes
1 answer

Can logcat results for Log.i be viewed in our activity?

I would like to display Log.i results in my application. Is it possible? If so, how can I do it?
jehan
  • 267
  • 1
  • 4
  • 10
5
votes
2 answers

Print/Copy LogCat output with the color highlighting?

LogCat output in its color highlighting is very informative and helpful in isolating problems. Sometimes, however, I need to print it to paper (or copy/paste it to an OpenOffice.org Writer document) with the colors! Is there a way to print LogCat…
ef2011
  • 10,431
  • 12
  • 49
  • 67
5
votes
1 answer

Test instrumentation process crashes when running in emulator with -no-window

Our Android Espresso UI tests are able to pass when running on a normal windowed Linux Android emulator, but fail when we run them with the -no-window -no-audio flags. We've pulled the Test Orchestrator files and Logcat information but can't seem to…
5
votes
0 answers

See android app logs without running from Android Studio

I'm trying to fix a bug that happens when the application is installed and the user adds the app widget before running the app for the first time. The question is if there is a way to intall app and see the logs from Android Studio without running…
Pablo
  • 2,581
  • 3
  • 16
  • 31
5
votes
1 answer

(httplog)-static: issbsettingenabled false android

I am developing Android app and running in Samsung J7. The problem is while running the app it show the error "(httplog)-static: issbsettingenabled false" is there any way to enable httplog true or an alternative way to solve this. If…
Vivil
  • 103
  • 1
  • 11
5
votes
4 answers

Runtime Error Unfortunately app has stopped?

While trying to run my app on handset, when I am trying to go from one activity to other its throwing error Unfortunately app has stopped ! & When I checked in Logcat I'm getting following error messages... 12-07 03:12:57.958 …
Kiran Malvi
  • 636
  • 2
  • 9
  • 29
5
votes
4 answers

java.lang.NullPointerException: Attempt to invoke virtual method on a null object reference to select sqlite

I am a newbie of android world. I have a problem of the coding. It was just a tiny error buy i dont know it doesnt work even i change others method but the error still the same error. Here the error occur at logcat: java.lang.NullPointerException:…
5
votes
2 answers

Random black screen when launching android app on device

When i launch my app from Android studio to device or when i download and install it from direct APK file, sometimes there is a black screen and after some seconds, there is a prompt with app crash message. There is no informations about that in the…
Benjamin B.
  • 473
  • 5
  • 15
5
votes
1 answer

How to hide NativeCrypto messages from Logcat

Checked Solutions: Unexpected value from nativeGetEnabledTags: 0 My Logcat is only showing the following unused messages with a fast execution. 10-12 10:35:19.661: D/NativeCrypto(7146): Entering sslRead, caller requests to read 1 bytes…
user3678972
  • 207
  • 2
  • 12
5
votes
0 answers

"chunk is too big to transmit" Android logcat Meaning?

I'm getting this warning in my logcat while running an app with Google Maps: chunk is too big to transmit (length=49398928, 48259 bytes) I think it has something to do with memory fragmentation, but I was hoping someone could confirm, provide an…
spidermonkey
  • 101
  • 1
  • 5
5
votes
1 answer

How to get complete system log from android

I want get complete system log. Currently, I'm using below code to get system log try { final Process process = Runtime.getRuntime().exec("logcat -d -v threadtime *:I"); final BufferedReader bufferedReader = new BufferedReader(new…
user9187
  • 223
  • 4
  • 10
5
votes
0 answers

LogCat error: Error opening trace file: No such file or directory (2)

I've got a totally new Android project in Eclipse, one activity with one simple textview, black background, nothing else. I didn't modify anything except adding some permissions in order to listen few advices on the Internet. Of course there are…
Jakub Turcovsky
  • 2,096
  • 4
  • 30
  • 41