views:

29

answers:

3

hello, i try to log some text using Log.v or Log.e but i cant see the text anywhere in the eclipse console.

what am i missing? thanks!

+1  A: 

The text isn't shown on the console, its shown on the logcat which is not visible by default. To enable it:

Click Window>ShowView>Other>under Android folder, select logcat

or hit alt+shift+q then release all buttons, then hit q. The Show View window should pop up. Under the Android folder, select logcat.

magicman
+1  A: 

Log output doesn't go to the eclipse console. You will want to either use the DDMS perspective or open the LogCat view from Window->Show View->Other->Android->LogCat

Chris Thompson
+1  A: 

However, the logcat of Eclipse doesn't work well. Sometimes it crashes without any apparent reason. You should use DDMS that can be integrated in Eclipse GUI and works pretty well.

brent