user3137376
user3137376

Reputation: 1527

LG G4 not recognised by Android Studio

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

Answers (10)

paulsm4
paulsm4

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

  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"

Upvotes: 0

Furkan Ekinci
Furkan Ekinci

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

Ohad Schneider
Ohad Schneider

Reputation: 38142

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.

Upvotes: 3

mannykary
mannykary

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:

  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.

Upvotes: 8

Henry Thomas
Henry Thomas

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

Dayanand Waghmare
Dayanand Waghmare

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

ichaki5748
ichaki5748

Reputation: 2033

Check your phone, it will ask to install driver on PC. Afterwards android studio will see your phone

Upvotes: 3

androidwifi
androidwifi

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

user3137376
user3137376

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

Vlad
Vlad

Reputation: 3597

You have to activate developer mode for your device.

Upvotes: -1

Related Questions