I am using the android 1.5 and have compiled and run the Snake sample
application on the Emulator, using Eclipse 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---