user2054910
user2054910

Reputation:

HTC One M8 running on Android Studio

Is anyone using a HTC One M8 device on Android Studio? My problem is that the IDE is not recognising it.

I killed the AVD, restarted the IDE a few times, plugged-out and plugged-in the device, but It still being not recognised.

Upvotes: 5

Views: 9437

Answers (2)

user2054910
user2054910

Reputation:

The requirements to make the HTC One M8 to work with Android Studio are:

  • Install HTC Sync Manager

  • Enable the USB debugging made the Android Studio to recognise the device. This article tells how to enable Developer Option in Settings, cause it comes hidden by default.

Upvotes: 6

Don Cheadle
Don Cheadle

Reputation: 5576

Here are the steps that worked for me, on Windows 8.1, using HTC One M8:

Follow Android Studio's documentation here, for your relevant OS and phone.

If for some reason that link breaks, here's the steps:

  1. Allow USB debugging on your phone, in the Developer Options (tap your software build number 7 times if you don't see Developer Options in phone's Settings)

  2. Include this snippet in your gradle.build:

    android { buildTypes { debug { debuggable true } ... } ... }

For many, the above steps are all you need. But, on Windows, I still had issues with HTC driver.

To fix this you must install HTC Sync Manager onto your PC, which also installs the proper driver. Link is here.

Upvotes: 0

Related Questions