AVD manager won't detect my HTC Hero phone as Virtual Device

前端 未结 8 1010
悲哀的现实
悲哀的现实 2021-01-11 23:16

I need to use my phone as emulator/target/virtual device when I run my application. I have installed HTC Sync and the USB driver is in order. I have enabled the USB Debuggin

8条回答
  •  心在旅途
    2021-01-11 23:38

    HTC Hero (Android 2.1)
    eclipse Helios (3.6)
    Windows XP SP3

    I got this working by doing the following

    1. Make sure that your project is set to debuggable in the manifest android:debuggable="true"
    2. 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)
    3. Install HTC Sync (3.0)
    4. Use USBDeview to remove device
    5. Plug in device
    6. 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.
    7. Also ran this to be safe "C:\Program Files\HTC\HTC Sync 3.0\adb.exe devices"
    8. Then in eclipse click the drop down menu on the debug tool bar item > Debug Configurations... delete all the existing configurations and close
    9. The next time you debug it finds the HTC Hero and runs debug on it

提交回复
热议问题