HTC Hero (Android 2.1)
eclipse Helios (3.6)
Windows XP SP3
I got this working by doing the following
- Make sure that your project is set to debuggable in the manifest
android:debuggable="true"
- On the Hero make sure that it is set for remote debugging
Menu > Settings > Applications > Development > USB Debugging
(next three steps I got from here)
- Install HTC Sync (3.0)
- Use USBDeview to remove device
- Plug in device
- Check device is added by running
"C:\Program
Files\android-sdk-windows\platform-tools\adb.exe
devices" which said the server was
out of date and automatically killed
and restarted it and showed my
device as connected.
- Also ran this to be safe "C:\Program
Files\HTC\HTC Sync 3.0\adb.exe
devices"
- Then in eclipse click the drop down
menu on the debug tool bar item >
Debug Configurations... delete all the existing configurations and close
- The next time you debug it finds the
HTC Hero and runs debug on it