LG G4 not recognised by Android Studio

喜欢而已 提交于 2020-05-09 19:26:10

问题


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:

  1. Go to Settings > About phone > Software info
  2. Tap "Build number" 7 times until it says that you're a developer
  3. Go back to Settings, and tap on the new "Developer options" item (second last in the menu)
  4. Enable "USB debugging"
  5. Plug in your phone
  6. Change from MTP to PTP mode
  7. 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:

  1. Install the LG Mobile Drivers: http://lg.com/us/lgeai/drivers (latest at the time of writing: here)
  2. Disable USB debugging if currently enabled (this was key for me)
  3. Enable USB debugging
  4. Plug into computer
  5. Allow USB debugging when prompted (will show RSA fingerprint, check "always allow").
  6. Trust the computer when prompted (allow access)
  7. Switch to PTP
  8. Install USB driver when prompted
  9. 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

  1. WINDOWS: Download and install LG driver on Windows: http://lg.com/us/lgeai/drivers

  2. HANDSET: Enable developer mode:

    Settings > Software Info > Tab "Build number" 7 times

  3. HANDSET:

    Settings > Developer options >

    • Enable USB debugging => YES
    • Select USB Configuration => MTP
  4. WINDOWS:

    Plug in handset. "Action" => Nothing

  5. HANDSET: Accept RSA key

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

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!