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

前端 未结 8 1004
悲哀的现实
悲哀的现实 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:34

    When I did it I never actually installed HTC Sync.I used the AVD Manager to install the USB Driver and followed these instructions

    0 讨论(0)
  • 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
    0 讨论(0)
  • 2021-01-11 23:38

    Your phone is not a virtual device. Just plug it in, make sure that USB debugging is enabled on the phone and run or debug your application.

    0 讨论(0)
  • 2021-01-11 23:42

    I had a similar problem — USB debugging enabled, no problems with drivers, yet device not detected. I was trying to run an imported project. I created a new Android Sample Project, and was able to run that on device. After that, the imported project also ran on device.

    0 讨论(0)
  • 2021-01-11 23:44

    A few tips that helped me get my Phone (Incredible 2) recognized:

    1. In Run Configurations, make sure target is set to Manual (otherwise might default to emulator)

    2. Install Phone drivers (from autoplay menu when plugged in), and HTC Sync. If 'Debugging Mode' isn't working, my phone will only be recognized by HTC sync and eclipse in 'Sync' mode.

    3. Check what version of the SDK you are running. My phone hasn't been updated to Android 4.0 yet, so I had to download a previous SDK version (2.1.3)

    0 讨论(0)
  • 2021-01-11 23:45

    I had a simular problem but i had to enable usb debugging on my actual physical phone and it updated the drivers on windows and now it works

    0 讨论(0)
提交回复
热议问题