首页 文章

通过Wifi进行USB调试

提问于
浏览
11

我无法通过wifi调试 .

我遵循了以下步骤 .

  • 转到Android Sdk-> Platform-tools并键入cmd

  • 运行adb tcpip 5555

  • adb connect和MY IP ADDRESS

现在我在下面的Image中得到了结果显示 .

enter image description here

我的设备连接后 . 我移除了我的USB线,然后我的设备列表为空 .

我不知道为什么会这样 .

我有motorola X玩手机Android 6.0和Windows 10操作系统 .

需要帮忙 .

1 回答

  • 7

    只需通过wifi轻松单击ADB连接 - 您可以尝试使用Android ADB Plugin from JetBrains . 该插件将在内部处理所有设置,您可以点击远离并通过wifi连接到adb,而无需担心任何其他问题 . 安装和使用的步骤可以在GitHub repo page找到 .

    提供一个操作,通过按下一个按钮,您可以通过WiFi快速连接Android设备,无需连接USB即可安装,运行和调试应用程序 . 使用USB线连接设备,然后按Android WiFi ADB按钮 . 一旦设备通过WiFi连接,您将看到IntelliJ / Android Studio通知 . 现在,您可以断开USB电缆连接,享受通过WiFi部署,运行和调试应用程序 . 版本2.0允许窗口检查您的设备是否已连接,并在需要时手动连接/断开连接 .

    Screenshots from the plugin page:

    enter image description here

    enter image description here

相关问题