|
Debugger Android Not Working -
06-14-2009, 04:39 PM
I am using the android 1.5 and have compiled and run the Snake sample
application on the Emulator, using Eclipse 3.41 to launch it. When I try
to debug it using the Eclipse environment I get the error:
"Launch error: Failed to connect to remote VM. Connection refused."
I do have the AndroidManifest.xml debuggable=true set and i went into
the emulator and set Dev Tools > Development Settings> and checked
"Wait for debugger", and added the snake app to the Debug App. So not
sure what else to do to get it to work. I also turned off my firewall
just in case too.
Here is my log for the launch:
2009-06-10 17:02:44 - Android_Snake] Android Launch!
[2009-06-10 17:02:44 - Android_Snake] adb is running normally.
[2009-06-10 17:02:44 - Android_Snake] Performing com.example.android.snake.Snake activity launch
[2009-06-10 17:02:44 - Android_Snake] Automatic Target Mode: Preferred AVD 'Cell15' is available on emulator 'emulator-5554'
[2009-06-10 17:02:44 - Android_Snake] WARNING: Application does not specify an API level requirement!
[2009-06-10 17:02:45 - Android_Snake] Device API version is 3 (Android 1.5)
[2009-06-10 17:02:45 - Android_Snake] Application already deployed. No need to reinstall.
[2009-06-10 17:02:45 - Android_Snake] Starting activity com.example.android.snake.Snake on device
[2009-06-10 17:02:46 - Android_Snake] ActivityManager: Starting: Intent { comp={com.example.android.snake/com.example.android.snake.Snake} }
[2009-06-10 17:02:47 - Android_Snake] Attempting to connect debugger to 'com.example.android.snake' on port 8616
[2009-06-10 17:02:48 - Android_Snake] Launch error: Failed to connect to remote VM. Connection refused.
Thanks in advance for any help.
John
|