启用 USB 调试
启用 USB 调试

启用 USB 调试

默认情况下,USB 调试将被禁用。
  1. 转至
    Settings
  2. 轻触
    About phone
  3. 向下滚动至
    Build number
  4. 点击
    Build number
    七次。
    此时会出现消息
    You are now a developer!
  5. 轻触
    Back
  6. 轻触
    System
    Advanced
    Developer options
  7. USB debugging
    开关滑动到
    ON
    位置。
  8. 轻触
    OK
  9. 使用 USB 连接线将设备连接到主机。
    Allow USB debugging?
    对话框随即出现在设备上。
    如果设备和主机是首次连接,则会显示
    Allow USB debugging?
    对话框,其中有
    Always allow from this computer
    复选框。如果需要,请选中此复选框。
  10. 轻触
    OK
  11. 在主机上,导航至
    platform-tools
    文件夹并打开命令提示符窗口。
  12. 键入
    adb devices
    出现如下信息:
    List of devices attached XXXXXXXXXXXXXXX device
    其中 XXXXXXXXXXXXXXX 是设备编号。
    如果未显示设备编号,请确保正确安装了 ADB 驱动程序。