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