Searene
Searene

Reputation: 27654

logcat displays nothing in eclipse

Logcat displays nothing in eclipse, but when i run adb logcat in terminal, thousands of information appeared. yes, logcat works well in the command line, but not with Eclipse. i have googled related questions online, but only to find how to open logcat in terminal, it helps me to some extent, but i want it to work in eclipse.

NOTE THAT: im sure i have selected the right devices in the DDMS view.

enter image description here

Upvotes: 1

Views: 2546

Answers (4)

Jerry Abraham
Jerry Abraham

Reputation: 1039

The device/emulator whose logs you want to see is not selected in DDMS thats why the logcat is not displaying any Logs. So select the device or emulator from DDMS ,Just clicking on it loads the logs in LogCat.

What you need to do is : Go to DDMS in the left side of Eclipise. Then select the device or the emulator, then click Log cat view .The logcat will be displaying the logs- If you can't see the logcat prespective then: Go to Window-->Show View-->Logcat

Upvotes: 0

Goofy
Goofy

Reputation: 6128

You need to select the device then it will work for

go to Windows ->showview->other->Select Devices 

Now select your device ex 5554 or 5556 etc

Upvotes: 0

ademar111190
ademar111190

Reputation: 14515

this ocurred with me too, i normaly use the logcat without eclipse try iit friend:

$ cd /"path to android folder"/android-sdk-linux/tools
$ ./ddms

Upvotes: 2

Altaaf
Altaaf

Reputation: 527

Please follow these steps,

Go to Windows Menu,Select "Show View".

Now from the dialog box, Select Android and then select Device.

When it opens, Select Any Option from Device and imediately it will start showing Logcat information.

Upvotes: 2

Related Questions