ADB won't detect my device even after USB Debugging enabled

Manish Kumar Sharma picture Manish Kumar Sharma · Jun 3, 2015 · Viewed 11.4k times · Source

I have a YUreka AO5510. It has a custom Cyanogen Lollipop build. Anyway, the problem is I have developer tools enabled, then USB Debugging enabled but whenever I connect my phone to PC, irrespective of, if I have developer tools turned on or not, it gets detected as a Media Device. I checked the settings and it shows three options:

MTP
PTP
Charging Only

By default MTP is turned on. I can switch to others but can't turn off any. One of the options have to be turned on.

Also my device shows up in the Device Manager in the Portable Devices category.

How do I get it to be detected in the "Set of online devices" in the Android AVD Manager?

EDIT 1: Okay, I just retried PDAnet to the end and it says, "Please make sure that your device is connected or USB debugging is enabled on it"

Answer

Manish Kumar Sharma picture Manish Kumar Sharma · Jun 3, 2015

Yureka! Yureka!

Finally I have been able to figure it out.
All the YUreka users facing this problem, go to Settings->More->Tethering & Portable Hotspot-> USB Tethering.<br.

Enable it. You will get a message, USB Debugging enabled and that's it, it will initiate the ADB driver installation on your PC automatically.

Note that you don't have to download any third party tool at all. Just this option will suffice.