Developing application on OnePlus

Itzick Binder picture Itzick Binder · Dec 24, 2014 · Viewed 7.4k times · Source

I'm trying to develop an android application on Android Studio.

I have a OnePlus device from Cyanogen with android version of 4.4.4.

I enabled the developer options and enabled the USB debugging but when I connect the phone to the laptop to run the application, the Android studio does not recognize the device and I cannot chose it to run the application on it.

I can see the device on My Computer as another driver and can view the files on the phone so the laptop does recognize the phone but the Android studio does not.

What do I need to change on my phone's settings to run developing applications on it?

Thank you in advance!

Answer

wrkwrk picture wrkwrk · Dec 24, 2014

You need to install adb driver.

If you can see an unknown device, you can right click it and select %your-sdk-dir%\extras\google\usb_driver\%i386 or amd64% to install.

Or you can enter *%your-sdk-dir%\extras\google\usb_driver*, and right click "android_winusb.inf" and select install to install the adb driver.

Or you can install something like "91 assistant" on you computer, it will install the adb driver when your phone is connected.

When adb driver is properly installed, you should see a device name "Android Phone", and android studio should recognize your phone.

enter image description here