Reputation: 1527
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 but still it's not recognised. I tried a lot of resources out there, still nothing. Please can anyone help?
Upvotes: 27
Views: 22917
Reputation: 121799
I had the same problem with an LGL58VL test handset. Other (non-LG) handsets worked without problem. Installing the Google USB driver didn't help (Windows said "installed driver (LGE Android Net MTP Device) is already up to date".
Here's what worked for me
WINDOWS: Download and install LG driver on Windows: http://lg.com/us/lgeai/drivers
HANDSET: Enable developer mode:
Settings > Software Info > Tab "Build number" 7 times
HANDSET:
Settings > Developer options >
WINDOWS:
Plug in handset. "Action" => Nothing
HANDSET: Accept RSA key
WINDOWS: Android Studio > Tools > Connection Assistant >
Verify handset device is listed and available for debugging
ALSO: sometimes, after I enabled other test devices, the "Enable USB Debugging" option for the handset became grayed out.
WORKAROUND (Handset):
Settings > Developer Options >
Upvotes: 0
Reputation: 2652
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.
Upvotes: 1
Reputation: 38142
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.
Upvotes: 3
Reputation: 832
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.
Upvotes: 8
Reputation: 438
Had the same problem and tried everything mentioned above with no success. What ended up working for me was downloading the LG Android USB device Drivers which can be found here: http://www.mylgphones.com/lg-android-usb-device-drivers
The latest drivers didn't work for me so I downloaded the second latest and voila! It worked! Hope this helps.
Upvotes: 12
Reputation: 3078
switched USB options from MTP to PTP. when you try to switch it will ask to install drivers then clicked on Install ....now you can debug your app on device
Upvotes: 6
Reputation: 2033
Check your phone, it will ask to install driver on PC. Afterwards android studio will see your phone
Upvotes: 3
Reputation: 1029
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.
Upvotes: -1
Reputation: 1527
So i restarted my device, and switched USB options from MTP to PTP. and for some reason it worked. I dont know why. Thanks for answers above, much appreciated
Upvotes: 89