开发者

Cannot see debug output when running android emulator

开发者 https://www.devze.com 2023-03-22 03:10 出处:网络
I\'ve setup android in eclipse according 开发者_如何转开发to this tutorial. I downloaded the android sdk zip file from here and unzipped it to my c drive. Android sdk 2.3.3 api level 10 is installed a

I've setup android in eclipse according 开发者_如何转开发to this tutorial. I downloaded the android sdk zip file from here and unzipped it to my c drive. Android sdk 2.3.3 api level 10 is installed and I have setup an android virtual device in the android SDK and AVG manager. The settings are as follows

Cannot see debug output when running android emulator

In Eclipse, when I go to - 'Window -> Show View -> Android -> LogCat', the logcat view opens up. When I start the emulator however, I see absolutely nothing in the logcat window. Any ideas why this might be happening?

==============================================================================

Update Unfortunately none of the suggestions are working. I don't see anything in my devices tab at all. It's empty. See image below.

Cannot see debug output when running android emulator


In that case try to reset adb.

  1. Go to the Devices view in the DDMS perspective.
  2. Click on the View Menu button that looks like a down arrow.
  3. Select Reset adb.

Cannot see debug output when running android emulator

Of course you'll have to select an application on that device first.


Try opening the DDMS perspective (in Eclipse, Windows -> Open Perspective -> DDMS), then select the device in the Devices tab (by default in the upper left hand corner). Also make sure the LogCat window is showing too.

I've noticed that sometimes the LogCat window stops updating, but changing the filter (Verbose-Debug-etc) by clicking the round white buttons with letters inside fixes it.


Probably device is not selected for your logcat.

try 'Window -> Show View -> device and then select the emulator


May be because your device is not is not selected
In your Devices tab (where all the running emulators and devices are shown), select your desired emulator
If your eclipse didn't shows Devices, then Window -> Show View -> Android -> Devices


Close the logcat window completely ... kill it ... it's stuck ... then Window-> Show View -> Other -> LogCat

0

精彩评论

暂无评论...
验证码 换一张
取 消