Questions tagged [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 Eclipse with Android Development Tools (ADT) plug-in provides a logcat view in most perspectives, automatically retrieving logging information.

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

2313 questions
0
votes
2 answers

Why is BluetoothDevice sometimes a string?

What type is BluetoothDevice??? In this code, device works like a string (holding the UUID of the physical device) when i use it in Log() for LogCat. But I cannot assign it to a string variable (Eclipse complains that it is of type…
Tombola
  • 1,131
  • 5
  • 15
  • 26
0
votes
1 answer

App is force closing when i run it? Unable to start activity?

When i run it i get an immediate force close. I can never understand the logcat errors. I am using Eclipse along with the Android SDK. Here is the Logcat error but what does it mean? 02-29 12:59:35.875: E/AndroidRuntime(9759): FATAL EXCEPTION:…
Izzy Nakash
  • 177
  • 2
  • 2
  • 12
0
votes
2 answers

What does this LogCat error mean?

Im trying to run an example off E3roid examples. Except when i do, i get a force close on the page. Here is the logcat error. By looking at it, can you tell me what it means and what is the problem? 02-28 20:31:51.429: D/AndroidRuntime(1779):…
Izzy Nakash
  • 177
  • 2
  • 2
  • 12
0
votes
2 answers

Clean deleted R. Cant run any of my codeI

I did clean project and now i cannot run any of my code. Any files that has to do with R, just says cannot be resolved as a field. I've looked at so many other stackoverflow posts with similar problems but none seems to actually help. Help…
The Tokenizer
  • 1,564
  • 3
  • 29
  • 46
0
votes
1 answer

Android: Logcat error where onKeyListener in casted

I'm getting logcat errors where I casted an anonymous inner class for onKeyListener. As far as I know (I'm still learning all the ropes) there's nothing wrong with the line that's referenced here's the full error log for the session: 02-23…
0
votes
3 answers

Android application crashes upon opening

I'm developing an android application and as soon as the AVD opens and I unlock the device and click the menu, I get an "Application stops unexpectedly" error. The following is my logcat log. 02-22 11:34:38.220: D/AndroidRuntime(336): Shutting down…
Parth
  • 1,226
  • 7
  • 28
  • 49
0
votes
2 answers

02-19 16:46:01.677: E/AndroidRuntime(13159): android.database.sqlite.SQLiteException: no such table: notes

I'm having this error when I try to access one table: 02-19 16:46:01.677: E/AndroidRuntime(13159): android.database.sqlite.SQLiteException: no such table: notes: INSERT INTO notes (user,text) VALUES ('john','testingvalue') But I created the table!…
user1217055
  • 91
  • 1
  • 1
  • 5
0
votes
2 answers

applying logcat filter programmatically

I need to dump logcat with filter programmatically. I applied adb logcat -s "TAGNAME" but the app just "hung". there is a similar thread but there is no solution: Read filtered log cat(Programmatically)? try { Process process =…
ys126
  • 89
  • 1
  • 9
0
votes
1 answer

Issues with loading Spinner in Android

I was working on loading a combobox or in android terms a spinner. I was following this tutorial and I can't seem to get it working with my current app. http://developer.android.com/guide/tutorials/views/hello-spinner.html I first created an app…
Johnston
  • 2,873
  • 8
  • 29
  • 39
0
votes
1 answer

Printing logcat entries with highlighting

I'm developing an Android application and need to include error messages I encountered / resolved in the documentation. Is there a method to print logcat output as they appear in the logcat window with the highlighting, I can save the output but it…
Luke
  • 3,481
  • 6
  • 39
  • 63
0
votes
1 answer

Logcat crash states error in one package, but takes me to another?? BUG?

I've got a problem that I can't seem to word correctly... So here's my best effort to explain it to your guys. Scenario: I'm working in Eclipse Helios. I've got two packages, let's say "com.android.HelloWorld" and "com.android.HelloWorldFree". I…
While-E
  • 1,527
  • 2
  • 20
  • 37
0
votes
2 answers

Why the base class onReceive() function doesn't call the onUpdate()?

I have a fairly simple home screen widget application that shows a Toast on a button click. On fortunately it display a Toast only on a power-up (or just after I update the apk in the emulator). The button click has a pending intent that send a…
DavidH
  • 208
  • 3
  • 16
0
votes
1 answer

whats the error message in my logcat

I have got this logcat error more then one time. This time I started a new Activity from a non-Activity subclass. The new Activity that starts is empty, so it has nothing with the content to do. Here are the logcat lines: 01-14 11:11:03.562:…
SlowDeepCoder
  • 864
  • 3
  • 11
  • 27
0
votes
4 answers

My app is unable to start activity?

When i try to run the app on my phone,it force closes when i try to do activity 3. Logcat says: 01-13 17:53:25.368: E/AndroidRuntime(3235): Caused by: java.lang.NullPointerException 01-13 17:53:25.368: E/AndroidRuntime(3235): at…
user1148715
  • 93
  • 1
  • 1
  • 6
0
votes
1 answer

Android Changes the system clock?

So today I upgraded from gingerbread to Ice Cream sandwich. Other changes I did today was turn wifi on and enable background data. Now in LogCat I'm seeing this: Tag: SystemClock Text: Setting time of day to sec=1325630833 Some games I'm…