问题
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?
回答1:
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
回答2:
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.
回答3:
None of the answers here worked for me until I turned on USB debugging mode in Developer Options.
For completeness, the steps are:
- Go to Settings > About phone > Software info
- Tap "Build number" 7 times until it says that you're a developer
- Go back to Settings, and tap on the new "Developer options" item (second last in the menu)
- Enable "USB debugging"
- Plug in your phone
- Change from MTP to PTP mode
- Allow the computer to access your phone (there should be two messages - one of them should be for the RSA key fingerprint)
And that should do it. Run adb devices
and you should see the phone.
回答4:
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
回答5:
Check your phone, it will ask to install driver on PC. Afterwards android studio will see your phone
回答6:
Here's what I had to do:
- Install the LG Mobile Drivers: http://lg.com/us/lgeai/drivers (latest at the time of writing: here)
- Disable USB debugging if currently enabled (this was key for me)
- Enable USB debugging
- Plug into computer
- Allow USB debugging when prompted (will show RSA fingerprint, check "always allow").
- Trust the computer when prompted (allow access)
- Switch to PTP
- Install USB driver when prompted
- Wait for the driver to finish installing on your PC
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.
回答7:
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.
回答8:
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 >
- Enable USB debugging => YES
- Select USB Configuration => MTP
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 >
- Turn Developer Options OFF (slider at the top)
- Turn Developer Options back ON
- I was now able to hold down "USB Debugging" and slide it back to "ON"
回答9:
You have to activate developer mode for your device.
回答10:
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.
来源:https://stackoverflow.com/questions/31445662/lg-g4-not-recognised-by-android-studio