CodingYourLife
CodingYourLife

Reputation: 8616

Android Studio "No Connected Devices" HTC One (M7)

I know there are some questions like this but the solutions don't seem to work for me.

What I tried/have already:

I read that I should switch from MTP mode to PTP mode but I also read that HTC removed that with some update.

I have a HTC One (M7) with Android 5.0.2 (not hacked or anything) and Windows 8.1. Android Studio is current with v1.2.2. I usally don't develop for Android so it might be a very obvious thing.

No connected devices

Upvotes: 4

Views: 13394

Answers (4)

I also have an HTC One (M7) with Android 5.0.2 but running on Windows 10. My current Android Studio is v1.4.1. This is what I did to resolve the "No Connected Devices" issue:

  1. Uninstall any previous HTC drivers and software.
  2. Download the HTC One device driver from this site: Download HTC One Windows Drivers! [M7/M8] - even though the site claims that the driver is meant for Windows XP, Vista, 7, and 8 (for 32-bit or 64-bit systems), it worked on my Windows 10 too!
  3. Install the downloaded driver.

Now you can check on your Android Studio to see if your HTC device appears. It certainly worked on mine!

Android Studio screenshot - HTC One (M7) detected

Upvotes: 0

Apostrofix
Apostrofix

Reputation: 2180

I just wasted an hour with that problem with the same phone, but I finally made it, so here is what i did:

In Developer options the USB debugging was switched ON:

  1. I disconnected the USB cable from the phone
  2. The I disabled and re-enabled the USB debugging option
  3. Then I clicked on Revoke USB debugging authorisations and confirmed with yes
  4. Then I connected the USB cable to the phone and the popup that asks you to allow the connection finally showed up.
  5. As soon as I confirmed it, Android Studio showed the the device...

That was it.. Hope it saves someone else's time.

Upvotes: 7

CodingYourLife
CodingYourLife

Reputation: 8616

I still don't know what the problem was but I upgraded to Windows 10, installed Visual Studio 2015 without the Android SDK and installed Android Studio. I opened a new Project with default settings and it worked. I didn't even install anything manually in the SDK Manager.HTC One ADB works

Upvotes: 1

Sandro Machado
Sandro Machado

Reputation: 10215

You should try to use the universal ADB drivers (https://github.com/koush/UniversalAdbDriver). Download the installer from here: http://download.clockworkmod.com/test/UniversalAdbDriverSetup.msi

Upvotes: 0

Related Questions