[android] USB Debugging option greyed out

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

enter image description here

Examples related to android

• Under what circumstances can I call findViewById with an Options Menu / Action Bar item? • How to implement a simple scenario the OO way • My eclipse won't open, i download the bundle pack it keeps saying error log • getting " (1) no such column: _id10 " error • java doesn't run if structure inside of onclick listener • Cannot retrieve string(s) from preferences (settings) • strange error in my Animation Drawable • how to put image in a bundle and pass it to another activity • FragmentActivity to Fragment • A failure occurred while executing com.android.build.gradle.internal.tasks

Examples related to usb

• Is there an equivalent of lsusb for OS X • USB Debugging option greyed out • "The semaphore timeout period has expired" error for USB connection • How to change Android usb connect mode to charge only? • Is it possible to program Android to act as physical USB keyboard? • Why does adb return offline after the device string? • Simple way to query connected USB devices info in Python? • How do I connect to a terminal to a serial-to-USB device on Ubuntu 10.10 (Maverick Meerkat)? • How to load my app from Eclipse to my Android phone instead of AVD • Controlling a USB power supply (on/off) with Linux

Examples related to adb

• ADB server version (36) doesn't match this client (39) {Not using Genymotion} • ADB device list is empty • "unable to locate adb" using Android Studio • Run react-native on android emulator • Solving "adb server version doesn't match this client" error • Adb install failure: INSTALL_CANCELED_BY_USER • Session 'app': Error Installing APK • Where is adb.exe in windows 10 located? • How to debug in Android Studio using adb over WiFi • Set adb vendor keys