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

Error on Building audio player

Im using building for audio player existing code from http://www.androidhive.info/2012/03/android-building-audio-player-tutorial/. But i run this code in my emulator i get following error. Logcat: 10-11 17:17:56.707: E/AndroidRuntime(303): FATAL…
Ram
  • 1,687
  • 3
  • 18
  • 28
0
votes
1 answer

LogCat FATAL ERROR when trying to open a activity

When i try to open a activity in my app which its suposed to show some saved messages(that i saved in another activity in the same app) it Force to Close and shows me these errors in LogCat: 10-08 18:22:17.243: E/AndroidRuntime(269): FATAL…
baTimá
  • 554
  • 1
  • 10
  • 28
0
votes
1 answer

Couldn't find class 'class_name_x $2', referenced from method 'class_name_x'.

in the error text the class name is the same, the only thing changed is the end of the first class name added de '$2'
0
votes
2 answers

android-Application crash when thread.start() called. App using AndroidPlot API

I am building an app to plot dynamic values which are recieved via bluetooth. Since im new to android, I used the tutorial on the android developers guide but the application crashes when it tries accessing the Thread.start() method. Here is the…
AbdulHannan
  • 358
  • 1
  • 15
0
votes
2 answers

Collecting Warning and Error logs in a file?

How can i collect only my app warning and error logs in a file.(I used logcat -d but it gets all logs)
Sean
  • 30
  • 1
  • 4
0
votes
1 answer

Unable to start activity ComponentInfo NullPointerException error on application resume

My application works fine but when it goes on background and then after resumes is stops working with these errors at logcat: 09-26 15:46:49.278: D/SqliteDatabaseCpp(5847): Registering sqlite logging func:…
0
votes
1 answer

Android doesn't dump error trace on runtime crash

The only way I can see the runtime error trace in LogCat is when I edit/save changes to code and an Eclipse popup asks me if I want to Disconnect the device. How do you make it show the trace by default right when it crashes? (As it is, all I see is…
ross
  • 802
  • 10
  • 13
0
votes
2 answers

Filtering by Text in LogCat

Would it possible to filter text for a specific Tag? I currently can filter Tags, but not specific text for a specific Tag. Reference (Tag Filtering: https://plus.google.com/106300001086744879268/posts/4hbonf2w51D)
Brian Liang
  • 7,734
  • 10
  • 57
  • 72
0
votes
5 answers

Unable to find activity error

I have been trying to go back to an activity after saving some data. The saving all works find. No errors there and all the streams are closed. Then I try to go back to the MainMenu activity and it seems not to work. Also something that I don't know…
Nick
  • 2,593
  • 3
  • 30
  • 59
0
votes
2 answers

I want to Understand Android Log

is any one know what is the meaning this LOG test it display every time when i do any operation in my APP TEXT 09-06 17:41:30.194: D/dalvikvm(4900): GC_CONCURRENT freed 440K, 49% free 3317K/6471K, external 0K/512K, paused 4ms+7ms dos it related…
Youddh
  • 1,511
  • 4
  • 34
  • 51
0
votes
1 answer

Logcat unable to display gyroscope values

I am displaying and checking the values of gyroscope via my Nexus mobile device.Earlier I used to get the values as soon as connect my device.However, I also checked by using Log.v as in case if the listener is getting called, and it is working.But…
Shweta
  • 807
  • 3
  • 11
  • 24
0
votes
1 answer

voice recognition not working

I used voice recognition sample code from existing one.But this code not working in my eclipse.I got following error in my logcat.But this code perfectly working in others.I refered so many tutorials but i can't clear where i put…
Ram
  • 1,687
  • 3
  • 18
  • 28
0
votes
0 answers

Android: Eclipse LogCat shows destroyed activity logs

I have a main activity which calls another activity. I want the second activity to be completely destroyed when back button is pressed. The onDestroy method is always called when I press back button, but in Eclipse LogCat I still see logs belonging…
dany84
  • 251
  • 1
  • 6
  • 17
0
votes
1 answer

Track starting new Activity

I want to track new activity start , I use this code to only get I:ActivityManager : process = Runtime.getRuntime().exec( "/system/bin/logcat ActivityManager:I"); but it gets all logcat and do not filter with such tag…
user1411084
  • 502
  • 1
  • 4
  • 11
0
votes
2 answers

How to use Android's LogCat within a Java project?

I have a Java Project, where i would like to use Android LogCat's debug-tagging functionality. Is it somehow possible for Java projects? (not Android, but pure Java) EDIT: As stated below, it is not possible. Is there any alternative for Java?
Skip
  • 6,240
  • 11
  • 67
  • 117