I'm just getting started with Android programming, using Eclipse 3.7.1 and ADT 16.0.1. Naturally I started with the usual Hello World program. It runs fine on a physical device, but not on the emulator. When I run it on an AVD, here's what the console window says:
[2012-01-27 17:02:29 - HelloAndroid] ------------------------------
[2012-01-27 17:02:29 - HelloAndroid] Android Launch!
[2012-01-27 17:02:29 - HelloAndroid] adb is running normally.
[2012-01-27 17:02:29 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2012-01-27 17:02:42 - HelloAndroid] Launching a new emulator with Virtual Device 'AVD_4.0.3'
[2012-01-27 17:02:51 - Emulator] emulator: warning: opening audio input failed
[2012-01-27 17:02:51 - Emulator]
[2012-01-27 17:02:54 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error
That's all. The emulator starts up and appears to be working OK, but the app never shows up on it.
I can also start the AVD from the AVD manager window, and again it starts and runs OK. But if I try to run my app, the emulator doesn't show up in the list of running Android devices in the device chooser -- I assume it should, since there's a column headed "AVD name".
Any thoughts on what I'm doing wrong here? Thanks.
--
oobleck
[2012-01-27 17:02:29 - HelloAndroid] ------------------------------
[2012-01-27 17:02:29 - HelloAndroid] Android Launch!
[2012-01-27 17:02:29 - HelloAndroid] adb is running normally.
[2012-01-27 17:02:29 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2012-01-27 17:02:42 - HelloAndroid] Launching a new emulator with Virtual Device 'AVD_4.0.3'
[2012-01-27 17:02:51 - Emulator] emulator: warning: opening audio input failed
[2012-01-27 17:02:51 - Emulator]
[2012-01-27 17:02:54 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error
That's all. The emulator starts up and appears to be working OK, but the app never shows up on it.
I can also start the AVD from the AVD manager window, and again it starts and runs OK. But if I try to run my app, the emulator doesn't show up in the list of running Android devices in the device chooser -- I assume it should, since there's a column headed "AVD name".
Any thoughts on what I'm doing wrong here? Thanks.
--
oobleck