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
-1
votes
3 answers

LogCat lost its linenumbers

I have been on this for days. I broke my logcat. Somehow. I have no idea what I did. (Everything is always a PEBKAC). My output in Terminal with adb logcat | grep CordovaLog looks like this D/CordovaLog(11740): Count in faq:…
-2
votes
2 answers

log messages: disable spam from device

I want to use the Log function of android to debug my app but no matter I pick Log.d, Log.i, Log.e... the console is always spammed with unneccessary messages from the device and the IDE. Is there any way to disable the other messages or just…
-2
votes
5 answers

Android Studio Not able to debug

The log cat does not show anything.Clicking on the debug button does't do anything different.
Subrat Pani
  • 43
  • 1
  • 7
-2
votes
1 answer

How to filter the logcat by application package name in Android pragmatically?

I have tried following command: // private final String LOGCAT_CMD = "logcat :V *:S"; // private final String LOGCAT_CMD = "logcat | grep "; // private final String LOGCAT_CMD = "logcat :I com.*****.filterlogcat:V *:S"; but its not filter by…
user3231661
  • 37
  • 1
  • 7
-2
votes
1 answer

I keep getting E/AndroidRuntime: FATAL EXCEPTION: main

I wrote this code for downloading images from a server using picasso. The following is the ImageAdapter.java: import com.squareup.picasso.Picasso; import android.content.Context; import android.view.View; import android.view.ViewGroup; import…
Bembis668
  • 17
  • 1
  • 3
-2
votes
1 answer

Thread exiting with uncaught exception, AyncTask #2 Fatal Error

I am trying to make an RSS News Reader app and I am using AsyncTask to use threads for adding new websites to an RSS feed list. But whenever I put in the new URL and press 'ADD', the app crashes. The LogCat says -- threadid 12: Thread exiting with…
-2
votes
1 answer

Is it possible to make debug commands in Android?

I Android you can log things with: Log.i("Log_Tag","Message"); I know this prints message to the logcat console. I also noticed it is possible to type into the logcat console. So I was wondering is there a way to program "debugging" commands so that…
Foobar
  • 7,458
  • 16
  • 81
  • 161
-2
votes
2 answers

App crashed but logCat still running

Does anyone know why the logCat keeps on running even though the app is crashed ? 11-27 13:00:37.521 5893-5893/? I/dumpstate﹕ done 11-27 13:00:37.526 6064-6064/? D/AndroidRuntime﹕ Calling main entry com.android.commands.am.Am 11-27…
Hoo
  • 1,806
  • 7
  • 33
  • 66
-2
votes
2 answers

Android Logcat Errors when adding database classes

I keep receiving an error when I launch my android app. It was working fine prior to adding two classes which designed and built a databases. The logcat messages are as follows! 12-04 05:39:54.370: D/ActivityThread(25676):…
Mmmmmm
  • 11
-2
votes
1 answer

How do I display video once the item is clicked on playlist? Any idea

======================MainPlay================================================= ====This is the first where all the files are displayed and can select file to play====== package com.example.droid; import java.util.ArrayList; import…
-2
votes
2 answers

What does the LogCat Error Actually Mean?

I have created an App With Navigation Drawer and am using fragments. I have this particular fragment which uses a ListView and the List is Populated using JSON . When I try to open the particular fragment , the App Crashes and this is the LogCat…
-2
votes
1 answer

Caused by: java.lang.RuntimeException

I am writing an app in which i am using ListView, but whenever i do run my program getting :- Log says:- 03-07 12:24:34.030: E/AndroidRuntime(20663): Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is…
SunnyLoveU
  • 81
  • 1
  • 9
-2
votes
1 answer

PreferenceFragment compile but my program doesn't work . What is the matter ? Exception code is here

03-04 11:09:41.524: E/AndroidRuntime(943): FATAL EXCEPTION: main 03-04 11:09:41.524: E/AndroidRuntime(943): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.otobusumnerede/com.otobusumnerede.AyarlarActivity}:…
-2
votes
2 answers

Android - Logcat Error

What is this error I'm getting in a particular layout of my app? I have a specific layout (MonthlyComputation) that crashes the app when I go to this layout.. 11-15 21:39:03.105: ERROR/AndroidRuntime(1169): FATAL EXCEPTION: main …
-2
votes
1 answer

Fatal Exception: Main

I'm new to android and having a problem with my first application that I have extended by using the Hello World. Logcat is appended. Can anyone please help why the application shuts down ? 09-27 19:05:57.442: E/AndroidRuntime(528): FATAL…