Android 2.0-2.3.x

Settings > Applications > Development > USB Debugging


Android 3.0- 4.1.x

Settings > Developer Options > USB Debugging


Android 4.2.x and higher.

In Android 4.2 and higher versions, the Developer Options menu and USB Debugging option have been hidden. In former 4.X versions of Android, USB Debugging option is under Developer Options menu.

First, you need to enable “Developer Options Menu”.

  1. Click Menu button to enter into App drawer.
  2. Go to “Settings”.
  3. Scroll down to the bottom and tap “About phone” or “About tablet”
  4. Scroll down to the bottom of the “About phone” and locate the “Build Number” field.

  5. Tap the Build number field seven times to enable Developer Options.

  6. When you are done, you’ll see the message “You are now a developer!”.
  7. Tap the Back button and you’ll see the Developer options menu under System on your Settings screen.
  8. Go to Settings>Developer Options>USB Debugging. Tap the USB Debugging checkbox.

Android 5.0 Lollipop

To enable USB Debugging on Android 5.0 Lollipop is the same as Android 4.2.x.

  1. Settings > About Phone > Build number > Tap it 7 times to become developer
  2. Settings > Developer Options > USB Debugging.

Warning

USB Debugging should only be enabled when you need it. Leaving it enabled all the time is kind of a security risk for that this mode grants you high-level access to your device. Say if you connect your Android phone to a USB charging port in a public location, the port could use the USB access to your phone to access data on your phone or install malware. This could happen when and only when USB debugging mode is enabled.

To disable USB Debugging and other developer options when you don’t need them, slide the switch at the top of the screen to OFF.


Original Link

https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. jquery向Django后台发送数组
  2. 将JavaScript对象作为Dictionary 传递给C
  3. 如何防止缓存.NET JSON源
  4. 如何在用户选择操作后获取当前日期和时间
  5. jquery内部实现原理分析
  6. 用replaceWith()对DOM结点操作时应注意的
  7. JavaScript / jQuery:如何链接使用console
  8. 动态添加表单元素,将它们存储到MySQL并在
  9. Jquery点击加载更多
  10. 美元。针对简单的php, post返回对象