Thanks for all your attempts to help!
I'm trying to program apps for my HTC Sensation (ICS, 4.0.3), but I Eclipse doesn't find it. When I press the Run "[Application Name]"-button I just get the message "No compatible targets were found. Do you wish to a add new android virtual device?", and no devices is shown in the "Android Device Chooser" that is shown.
I tried with my friends Sony Ericsson XPERIA X10 Mini Pro (2.1-update1), and that worked.
I tried with both version 2.1, 2.3.3 and 4.0.3 of the application, but none worked on my Sensation.
I have USB-debugging, Stay Awake, and Allow mock locations activated.
I've been Googleing around for days, but I haven't found a solution. I've tried the following for example (found it here ):
I've tried to "Run Configurations -> Target -> Select 'Manual' instead of 'Automatic'"
I've installed the Google USB Drivers, and my phones drivers via HTC Sync from HTC.com
Edit:
I've got some more questions:
ensure that adb is correctly located at 'D:\\Documents\\Eclipse\\android-sdks\\platform-tools\\adb.exe' and can be executed
, that is the directory of the file, and if I go there and run it manually it works, or at least I get past that error (and that's when it tells me I have no device connected). Some quick info:
I have written an answer here : HTC Sensation XE - debug in eclipse very poor performance
Please check if it works for you!!
I had the same problem. I installed the USB tethering driver and the problem was solved.
try to connect to the device in cmd with adb shell, if you don't have enter the adb in you $PATH go to Android sdk folder and try it from there.
You also could check if your device is int the Device-Manager in windows, there it sould be under ADB Interface
Maybe also try this go in Eclipse to Run->Run Configurations and set the Target to Manual. Then you should be able to chouse your device
I had a similar issue with my HTC Evo. This article worked for me, it involves booting your phone into recovery mode while plugged into USB and installing the driver from the device. I realize this is for a different device, but the same approach may work.
I had the same issue with the Inspire. Install HTC Sync for the USB driver that comes with it, then uninstall it because it will launch when you connect your phone and because it launches its own adb, you'll end up fighting it. On the phone, enable USB debugging and set the USB connection to Drive. Charge will work too, but Drive is better because the Eclipse Android Devices view will see all the installed software. Once that's set up, you should be able to issue 'adb devices' from a command line and see your phone as 'online' It will also compete a little with the eclipse invocations of the client, but that's fine.
I don't know did you find solution or not. I got the same problem as you mentioned exactly. I tried all the solutions from google searching, but nothing works...
Then I just put the button "Factory data reset" (Setting/Storage), and it works!
So if you still got this problem, maybe you could try this.
I have Windows 8 and an HTC sensation, after many attemps and a lot of research what worked for me was to Install HTC Sync under compatibility mode and Install the Windows 7 version, after doing this my Eclipse detected the device.
Hope it helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.