我无法通过 wifi 进行调试。
我已按照以下步骤操作。
- 转到 Android Sdk-> Platform-tools 并输入 cmd
- 运行 adb tcpip 5555
- adb 连接和我的 IP 地址
现在我得到了下图中显示的结果。
连接我的设备后。我拔下了 USB 数据线,然后设备列表为空。
我不知道为什么会这样。
我有motorola X play 手机Android 6.0 和Windows 10 操作系统。
需要帮助。
最佳答案
对于通过 wifi 简单的一键式 ADB 连接 - 您可以尝试使用 Android ADB Plugin from JetBrains .该插件将在内部处理所有设置,您可以单击并通过 wifi 连接到 adb,而无需担心其他任何事情。安装和使用步骤可在其 GitHub repo page 上找到.
Provides an action which allow you quickly connect your Android device over WiFi to install, run and debug your applications without a USB connected by pressing one button. Connect your device using a USB cable and press the Android WiFi ADB button. Once the device be connected over WiFi you'll see an IntelliJ/Android Studio notification. Now you can disconnect your USB cable and enjoy deploying, running and debugging your applications over WiFi. The version 2.0 enables a window to check which of your devices are connected or not and connect/disconnect it manually if needed.
插件页面截图:
关于android - 通过 Wifi 进行 USB 调试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34742899/