118

While working on a simple program in Android, I mistakenly closed LogCat window and I want to know how to show it again.

Adinia
  • 3,722
  • 5
  • 40
  • 58
Rakesh
  • 14,997
  • 13
  • 42
  • 62

5 Answers5

204

In Eclipse, Goto Window-> Show View -> Other -> Android-> Logcat.

Logcat is nothing but a console of your Emulator or Device.

System.out.println does not work in Android. So you have to handle every thing in Logcat. More Info Look out this Documentation.

Edit 1: System.out.println is working on Logcat. If you use that the Tag will be like System.out and Message will be your message.

Community
  • 1
  • 1
Praveen
  • 90,477
  • 74
  • 177
  • 219
12

Write "LogCat" in Quick Access edit box in your eclipse window (top right corner, just before Open Prospective button). And just select LogCat it will open-up the LogCat window in your current prospect

enter image description here

AndyW
  • 1,431
  • 16
  • 22
8

In the Window menu, open Show View -> Other ... and type log to find it.

PCoder
  • 2,165
  • 3
  • 23
  • 32
Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820
5

In the "Window" menu, open "Open Perspective" -> "Debug".

alt text click On the plus image icon(you see the below image at status bar), and then select "Logcat"....

Grant
  • 11,799
  • 13
  • 42
  • 47
Paresh Mayani
  • 127,700
  • 71
  • 241
  • 295
  • Hi Paresh ,just cannot identify what u said yesterday,but now i saw it,Thanks a lot Paresh for showing the new way – Rakesh Jul 21 '10 at 08:57
0

Go to your desired perspective. Go to 'Window->show view' menu.

If you see logcat there, click it and you are done.

Else, click on 'other' (at the bottom), chose 'Android'->logcat.

Hope that helps :-)

Roei Bahumi
  • 3,433
  • 2
  • 20
  • 19