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
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.