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
11
votes
11 answers

Failure INSTALL PARSE FAILED MANIFEST MALFORMED

I am getting a strange issue while installing application. When I compiling my project there is no error but when I trying to launch its shows me, Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED Error. I have tried so many thing related …
Milan Patel
  • 185
  • 1
  • 2
  • 12
11
votes
9 answers

Attempt to invoke virtual method 'int java.lang.String.hashCode()'

I'm trying to load images from URL into girdview using Volley Library. For this I'm following this tutorial. When I run my project, it collects all URLs from server database and then store in arraylist. But doesn't displays images. And I am getting…
Ruchir
  • 1,086
  • 4
  • 24
  • 48
11
votes
4 answers

Default tombstones location in android

I am writing an app to capture tombstones logs. How to get the default location of tombstones logs in any Android device? Even if the tombstones logs are not available yet, where do they get stored when any crash or something happen? AFAIK these…
darthvading
  • 909
  • 2
  • 11
  • 25
11
votes
1 answer

Android Webview Unknown Error

I have made an app that uses WebView. It works, however, the LogCat produces this error: 03-27 10:36:35.830: E/eglCodecCommon(1466): **** ERROR unknown type 0x0 (glSizeof,73) I understand that 0x0 is an unknown error type (in Linux command), but…
jyoonPro
  • 1,661
  • 1
  • 16
  • 41
11
votes
1 answer

Android saving logs on every run for crash report

I'm currently developing an android app. I noticed a very rare error which leeds to a crash of my app. Unfortunately, I had my smartphone never connected to my pc when it occured. So, is there a way to automatically save all logs (and especially the…
user2224350
  • 2,262
  • 5
  • 28
  • 54
11
votes
3 answers

Why does it always shows GC_CONCURRENT FREED and GC_CONCURRENT ALLOCATE in Android Logcat while running a app?

I would like to know that why does the below message shows up everytime while running any application. 12-11 17:18:37.141: D/dalvikvm(3155): GC_CONCURRENT freed 485K, 9% free 6696K/7303K, paused 9ms+335ms paused 9ms+335ms due to this pause my audio…
11
votes
1 answer

Disable WebView messages from logcat output

We're using WebViews to display web pages behind a https scheme and intentionally display "insecure content" (non-https resources) on it for performance but the WebView constantly outputs logcat warning messages. Is there anyway to disable/hide…
Grantland Chew
  • 2,620
  • 26
  • 26
10
votes
3 answers

Capturing image from gallery & camera in android

First thing I know this is repeated question but I don't have problem in capturing image from gallery or camera. I created on dummy project to check my code here it's working fine But when I used same code in my project & here it's not working even…
Sandip Jadhav
  • 7,377
  • 8
  • 44
  • 76
10
votes
1 answer

Unable to launch app for broadcast intent

I wrote a small clock widget. Like all clocks, it has to be updated every minute. So I set up an alarm to do this. It worked fine. It was just a little too small. So I fiddled with an XML attribute and tried again. It force-closed. I changed…
John
  • 15,418
  • 12
  • 44
  • 65
10
votes
4 answers

Logcat not showing errors from my Huawei P9 phone

I am using Android Studio 2.3 and my phone is Huawei P9 Lite. I noticed that my logcat does not show errors from my phone. For example if I have code that will crash because of NullPointerException and I run it on emulator I get exception in logcat…
clzola
  • 1,925
  • 3
  • 30
  • 49
10
votes
4 answers

How to display two or more logcat filters at the same time in Android Studio?

I have declared two LOG.i such as followings in my code: Log.i("pen", pen.toString); Log.i("book", book.toString); Then I added these two filters to my Logcat window (via Edit Filter Configuration): Filter1 with 'LOG TAG' set to pen Filter2 with…
bastami82
  • 5,955
  • 7
  • 33
  • 44
10
votes
1 answer

How to resolve this warning " W/Atlas﹕Pointer 0x0, not in getPreloadedDrawables? "

Every time when I run my app, I'm getting this weird warning! I don't have any idea about resolving it. Can some one please explain me this! *Here is the logcat.* 06-25 09:34:24.997 1721-1721/? I/art﹕ Late-enabling -Xcheck:jni 06-25 09:34:25.957 …
Praneeth
  • 1,260
  • 18
  • 37
10
votes
1 answer

Android Studio doesn't display logs by package name

After running a project in log is added filter such as "app: My_Package_Name" in /.idea/workspace.xml added:
NickUnuchek
  • 11,794
  • 12
  • 98
  • 138
10
votes
4 answers

Logback-android: Log not getting writen to a file

Trying to redirect the log messages using logback-android, so that messages can be saved in a file. However, it is not getting saved into a file. This is my logback.xml file configration, which is stored under src/main/assets in my Android…
Shiv
  • 689
  • 8
  • 23
10
votes
2 answers

How fix this: on logcat -->> error loading /system/media/audio/ui/Effect_Tick.ogg??

I have a problem: error loading /system/media/audio/ui/Effect_Tick.ogg It's shown when I click navdraw icon. Anybody can help me?? This is errors on logcat: 04-20 01:42:11.240: E/SoundPool(639): error loading…