android - 通过 Wifi 进行 USB 调试

标签 android usb-debugging

我无法通过 wifi 进行调试。

我已按照以下步骤操作。

  • 转到 Android Sdk-> Platform-tools 并输入 cmd
  • 运行 adb tcpip 5555
  • adb 连接和我的 IP 地址

现在我得到了下图中显示的结果。

enter image description here

连接我的设备后。我拔下了 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.

插件页面截图:

enter image description here

enter image description here

关于android - 通过 Wifi 进行 USB 调试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34742899/

相关文章:

android - 应用程序不能在 android 4.0 及更高版本中运行

java - 更改了DB,更新了DB版本无法添加数据也无法不添加数据

android - 错误 :Execution failed for task ':app:transformClassesWithDexForDebug' . > com.android.build.api.transform.TransformException :. .非零退出值 3

android - 在 Android 应用中使用 Material Design 2

Android 5.0 内部版本号未显示在“设置”>“关于手机”中

Android USB 调试已停止工作

android - android listView 行向左或向右对齐

android - 如何在黑屏的android上启用usb调试?

android - 无法安装此硬件 - Android 硬件设备设置

android - Aakash 平板电脑的 USB 供应商 ID