I just got the LG G4 phone, turned on developer options mode, tried running an app from Android Studio but it can\'t recognise my phone. I even tried switching from MTP to PTP b
I had same problem. I was checking Developer Options after plugging USB cable, the USB Debugging option was unchecked and grayed out while cable plugged. I unplugged USB cable, checked USB Debugging option and plugged USB cable again, it worked.
Check your phone, it will ask to install driver on PC. Afterwards android studio will see your phone
Here's what I had to do:
adb devices
should show your phone now. If you don't get some of the prompts above, try unplugging and re-plugging your device. Also try different USB ports on your machine.
Try tap "adb devices" in shell window( or command window) 1) if still nothing displayed, it must be not related to studio, please check whether drivers is properly installed or register in system(Different system has different methods). 2) if displayed like "0b63d5xxxxxxxxxx device", it should be studio's problem, check view option or reinstall android studio.
None of the answers here worked for me until I turned on USB debugging mode in Developer Options.
For completeness, the steps are:
And that should do it. Run adb devices
and you should see the phone.
You have to activate developer mode for your device.