可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
I have an LG-E405 phone running Android 2.3.6.
I connected my phone with a USB cable and selected the mode as Charge Only
.
Now when I try to turn on USB Debugging
, I find that that the option is greyed out.
So, how can I enable USB debugging in this case.
回答1:
You have to enable USB debugging before plugging your device in to the computer. Unplug device then try to enable USB debugging. This should work. If so, you can then plug it back into the computer and it should work
回答2:
Finally figured out the solution to the problem, with the help of this post.
When you connect your phone to your PC, using the USB cable, select the mode as PC Software
.
Now you should be able to enable USB Debugging.
回答3:
How to Enable USB Debugging for LG Optimus (LGD415). Android version 4.4.2 (KitKat)
Go to this website and download the drivers to your phone:
http://www.lg.com/us/support/mobile-support
For example, mine would be:
http://www.lg.com/us/support-mobile/lg-LGD415RD. Then click on “Software Update & Drivers”
On your phone, you need to enable USB debugging. To do so,
Go to “Settings”.
Go to “About Phone”
Go to “Software Information”
Tap “Build number” five times.
A pop-up will appear saying “You are now a developer”. Your’re not done yet.
Go back to your phone’s home page by pushing the home button.
Go to “Settings”.
Go to “Developer options”
Click the “USB debugging- Turn on debug mode when USB is connected”. A blue checkmark will appear.
(EDIT: If USB Debugging is greyed out, unplug your phone. USB Debugging should no longer be greyed out. If it is not greyed out, check the box and plug your phone into your PC.)
Unplug your phone from your PC. Then plug it back in. On the pop-up, make sure you set it to “Media Sync (MTP)”.
Now your phone will show up on an option when you want to run your app in Eclipse.
(Look for dialog box on phone and agree to allow debugging connection with your computer.)
(Also, go to Control Panel | Device Manager and make sure there are TWO entries for your phone, similar to those expanded below.)
回答4:
Unplug your phone from the PC and go to develop options and now here you can enable USB debugging. if you connect USB and try to enable debugging it will not enable and follow TMacGyver is right it works for me using choose PC connection.
回答5:
This worked for me:
- Changing USB connection to File Transfer
- Turn off developer options
- Turn it back on
- USB Debugging option came back to life
回答6:
Unplug your phone from the your computer, then choose PC Software as PC Connection Type. Then go into Developer Options and select USB Debugging
回答7:
Just ran into this on the LG Rebel LTE (LGL44VL). As other answers note, you need to change the USB connection mode to PTP. But my phone's control panels were different from stock Android and didn't have such an option.
The option was hiding in a notification that appeared when I plugged the phone in. I had to open the notification tray and tap a notification labeled
Media Device (MTP)
Tap here for more USB options
回答8:
Try selecting the default mode as Internet connection.
Go to Settings -> Connectivity -> Default Mode -> Internet Connection.
Now enable the USB Debugging mode under Applications -> Development -> USB Debugging.
It worked for me.
回答9:
FYI My Motorola Xyboard had an "Off" icon at the top of developer options. Once I tapped that it worked.
回答10:
Connect the phone to a PC, make sure your developer options are enabled.
Then, connection type must be MTP or File Transfer. Charge only does not allow USB debugging(disables the option).
回答11:
After countless attempts, I found the following quote:
If you are using My KNOX, you cannot enable USB debugging mode while the container is installed. Unfortunately, you have to root your device ...
- continue reading
Furthermore make sure:
- your USB-cable works
- your connection type is MTP (or PTP in some cases)
- to enable USB debugging before pluging your device via USB-cable
I switched to another device without KNOX (not rooted as well) to save time. Maybe this quote will save someone some time. It was the only explanation to me in this case.
Cheers!
回答12:
I had an LG Android phone, and could not get USB to work with Windows, even after trying the following:
- Settings > About phone > Software info
- Tap 'Build number' 7x, and Activate Developer mode
- Settings > Developer options > USB debugging [ON]
- Settings > Developer options > Select USB Configuration > MTP
- Plug into Windows PC with USB cable.
It DOES show the phone as charging via USB (so the plug must be OK), but it does not show up under 'This PC' in Windows File Explorer as a Device/Drive.. grrr.
Turns out that not all USB cables are the same — some USB cable manufacturers only make their cable with 2wires instead of 4wires, so that they will charge, but not pass data through the cable — so if software solutions do not appear to be working, try changing the USB cable (!).
im writing this here so that maybe someone else doesnt have to waste half an hour figuring out that some USB cable manufacturer doesnt include all 4 wires in their USB cables... grrr.
回答13:
I have a feeling that if you have a corporate phone, your corporation IT might also be blocking USB Debugging. I've tried all the different connection modes and the USB Debugging option remains firmly greyed out.
I'm trying to get in to enable the BATTERY_STATS for GSam Monitor Pro, but I think it's disable through the Airwatch MDM software my company makes me use. They pay for it so I guess I'm stuck.
回答14:
To enable USB debbuging you have to enable developer option
- Go to about device or tablet then
- Click build number 7 times to enable developer option
- Now go to developer option scroll down until you see USB debbuging option
Now if you have shaded usb debbuging and it is not turning on
- Click on the search button on top right corner
- Search USB
- Click on USB computer connection
- Check the MTP
Now you can enjoy your sharing ...