Solution
To see the option for USB debugging mode in Nexus 4 or Android 4.2 or higher OS, do the following:
- Open up your device’s “Settings”. This can be done by pressing the
Menu button while on your home screen and tapping “System settings” - Now scroll to the bottom and tap “About phone” or “About tablet”.
- At the “About” screen, scroll to the bottom and tap on “Build number”
seven times.- Make sure you tap seven times. If you see
a “Not need, you are already a developer!” message pop up, then you know you have
done it correctly.
- Make sure you tap seven times. If you see
Done! By tapping on “Build number” seven times, you have unlocked USB debugging mode on Android 4.2 and higher. You can now enable/disable it whenever you desire by going to
“Settings” -> “Developer Options” -> “Debugging” ->” USB debugging”.
CONCLUSION
That was easy. The best part is you only have to do the tap-build-number-seven-times once. After you do it once, USB debugging has been unlocked and you can enable or disable at your leisure. Please restart after done these steps.
Additional information
Setting up a Device for Development native documentation of Google Android developer site
Update: Google Pixel 3
If you need to facilitate a connection between your device and a computer with the Android SDK (software development kit), view this info.
- From a Home screen, swipe up to display all apps.
- Navigate: Settings > System > Advanced.
- Developer options .
If Developer options isn’t available, navigate: Settings > About phone then tap Build number 7 times. Tap the Back icon to Settings then select System > Advanced > Developer options. - Ensure that the Developer options switch (upper-right) is turned on .
- Tap USB debugging to turn on or off .
- If prompted with ‘Allow USB debugging?’, tap OK to confirm.
Doc by Verizon: Original source