Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot see debug output when running android emulator

Tags:

android

logcat

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

enter image description here

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.

enter image description here

like image 431
Joeblackdev Avatar asked Jul 22 '11 19:07

Joeblackdev


People also ask

What do I do if my Android Emulator is not working?

If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.

How do I view Android Emulator logs?

To access it, open the Chrome Developer tools from the More tools menu. Inside it you need to open the Remote devices view from the More tools menu. The view will list all attached Android devices and running emulator instances, each with its own list of active web views.


2 Answers

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.

ddms-screenshot

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

like image 197
Octavian A. Damiean Avatar answered Sep 23 '22 23:09

Octavian A. Damiean


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.

like image 29
aha Avatar answered Sep 24 '22 23:09

aha