I am trying to launch the basic Hello, Android application onto the emulator but doesn't seem to work. I have chosen Android version 3.0 with API level 11 and minSdkVersion 11. I've waited almost 30 mins for the launch, but it displayed "Android_" first and then "anDROID" and finally it said "Failed to install HelloAndroid.apk on device 'emulator-5556! " on the console.
There seem to be a lot of failures on the log cat but don't know what they are about. I am attaching the console messages and the logCat messages, any help to resolve this issue is greatly appreciated :
[2011-05-14 15:12:12 - HelloAndroid] ------------------------------
[2011-05-14 15:12:12 - HelloAndroid] Android Launch!
[2011-05-14 15:12:12 - HelloAndroid] adb is running normally.
[2011-05-14 15:12:12 - HelloAndroid] Performing com.example.helloAndroid.HelloAndroid activity launch
[2011-05-14 15:12:12 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'my_device'
[2011-05-14 15:12:12 - HelloAndroid] Launching a new emulator with Virtual Device 'my_device'
[2011-05-14 15:12:45 - Emulator] bind: Permission denied
[2011-05-14 15:12:45 - HelloAndroid] New emulator found: emulator-5556
[2011-05-14 15:12:45 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched...
[2011-05-14 15:37:10 - HelloAndroid] HOME is up on device 'emulator-5556'
[2011-05-14 15:37:10 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5556'
[2011-05-14 15:37:10 - HelloAndroid] Installing HelloAndroid.apk...
[2011-05-14 15:40:15 - HelloAndroid] Failed to install HelloAndroid.apk on device 'emulator-5556!
[2011-05-14 15:40:15 - HelloAndroid] (null)
[2011-05-14 15:40:18 - HelloAndroid] Launch canceled!
LogCat:
05-14 23:25:29.024: ERROR/ThrottleService(1824): Could not open GPS configuration file /etc/gps.conf
05-14 23:25:37.604: ERROR/NetworkTimeUpdateService(1824): Could not open GPS configuration file /etc/gps.conf
05-14 23:25:37.604: ERROR/NetworkTimeUpdateService(1824): NTP server address not found, not syncing to NTP time
05-14 23:25:43.684: ERROR/logwrapper(1905): executing /system/bin/tc failed: No such file or directory
05-14 23:25:44.473: ERROR/logwrapper(1906): executing /system/bin/tc failed: No such file or directory
05-14 23:25:45.435: ERROR/logwrapper(1907): executing /system/bin/tc failed: No such file or directory
05-14 23:26:20.793: ERROR/Watchdog_N(1824): Unable to open stack of tid 1824 : 2 (No such file or directory)
....
....
....
.....Unable to open stack of tid 1923 : 2 (No such file or directory)
05-14 23:26:32.395: ERROR/ActivityThread(1890): Failed to find provider info for settings
05-14 23:26:32.454: ERROR/installd(33): eof
05-14 23:26:32.454: ERROR/installd(33): failed to read size
05-14 23:27:06.663: ERROR/PhonePolicy(1928): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
05-14 23:29:38.124: ERROR/BatteryService(1937): usbOnlinePath not found
05-14 23:29:38.124: ERROR/BatteryService(1937): batteryVoltagePath not found
05-14 23:29:38.178: ERROR/BatteryService(1937): batteryTemperaturePath not found
05-14 23:29:38.575: ERROR/SurfaceFlinger(1937): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
Even after the console says "Launch cancelled" , it seems to be trying again and again as I see the same messages again the logcat.
THANKS for the help in advance.
There seem to be a lot of failures on the log cat but don't know what they are about. I am attaching the console messages and the logCat messages, any help to resolve this issue is greatly appreciated :
[2011-05-14 15:12:12 - HelloAndroid] ------------------------------
[2011-05-14 15:12:12 - HelloAndroid] Android Launch!
[2011-05-14 15:12:12 - HelloAndroid] adb is running normally.
[2011-05-14 15:12:12 - HelloAndroid] Performing com.example.helloAndroid.HelloAndroid activity launch
[2011-05-14 15:12:12 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'my_device'
[2011-05-14 15:12:12 - HelloAndroid] Launching a new emulator with Virtual Device 'my_device'
[2011-05-14 15:12:45 - Emulator] bind: Permission denied
[2011-05-14 15:12:45 - HelloAndroid] New emulator found: emulator-5556
[2011-05-14 15:12:45 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched...
[2011-05-14 15:37:10 - HelloAndroid] HOME is up on device 'emulator-5556'
[2011-05-14 15:37:10 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5556'
[2011-05-14 15:37:10 - HelloAndroid] Installing HelloAndroid.apk...
[2011-05-14 15:40:15 - HelloAndroid] Failed to install HelloAndroid.apk on device 'emulator-5556!
[2011-05-14 15:40:15 - HelloAndroid] (null)
[2011-05-14 15:40:18 - HelloAndroid] Launch canceled!
LogCat:
05-14 23:25:29.024: ERROR/ThrottleService(1824): Could not open GPS configuration file /etc/gps.conf
05-14 23:25:37.604: ERROR/NetworkTimeUpdateService(1824): Could not open GPS configuration file /etc/gps.conf
05-14 23:25:37.604: ERROR/NetworkTimeUpdateService(1824): NTP server address not found, not syncing to NTP time
05-14 23:25:43.684: ERROR/logwrapper(1905): executing /system/bin/tc failed: No such file or directory
05-14 23:25:44.473: ERROR/logwrapper(1906): executing /system/bin/tc failed: No such file or directory
05-14 23:25:45.435: ERROR/logwrapper(1907): executing /system/bin/tc failed: No such file or directory
05-14 23:26:20.793: ERROR/Watchdog_N(1824): Unable to open stack of tid 1824 : 2 (No such file or directory)
....
....
....
.....Unable to open stack of tid 1923 : 2 (No such file or directory)
05-14 23:26:32.395: ERROR/ActivityThread(1890): Failed to find provider info for settings
05-14 23:26:32.454: ERROR/installd(33): eof
05-14 23:26:32.454: ERROR/installd(33): failed to read size
05-14 23:27:06.663: ERROR/PhonePolicy(1928): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
05-14 23:29:38.124: ERROR/BatteryService(1937): usbOnlinePath not found
05-14 23:29:38.124: ERROR/BatteryService(1937): batteryVoltagePath not found
05-14 23:29:38.178: ERROR/BatteryService(1937): batteryTemperaturePath not found
05-14 23:29:38.575: ERROR/SurfaceFlinger(1937): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
Even after the console says "Launch cancelled" , it seems to be trying again and again as I see the same messages again the logcat.
THANKS for the help in advance.