Reputation: 8616
I know there are some questions like this but the solutions don't seem to work for me.
What I tried/have already:
adb devices
and adb kill-server
then adb start-server
doesn't change anything.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.
Upvotes: 4
Views: 13394
Reputation: 118
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:
Now you can check on your Android Studio to see if your HTC device appears. It certainly worked on mine!
Upvotes: 0
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:
Revoke USB debugging authorisations
and confirmed with yesThat was it.. Hope it saves someone else's time.
Upvotes: 7
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.
Upvotes: 1
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