断开USB连接后,ADB over WiFi连接丢失 [英] ADB over WiFi connection is lost after disconnecting USB

查看:447
本文介绍了断开USB连接后,ADB over WiFi连接丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正尝试在此处,并且我已成功连接到设备,但是在断开USB连接后我失去了连接。手动和插件方式的结果相同。
另外,我尝试了解决方案,并且<一个href = https://stackoverflow.com/questions/40105706/adb-connection-by-wifi-getting-killed-when-a-new-usb-attached-detached>此一个,但没有成功。

I was trying to run ADB over wifi following answers provided here, and I connect successfully to the device, but I lose connection after disconnecting the USB. The same result with both manual and plugins ways. Also, I have tried this solution, and this one, but without success.

要求设备已植根的解决方案对我不起作用。

Solutions that require the device is rooted won't work for me.

推荐答案

由于某种原因,以仅充电模式连接设备可以解决此问题。只需确保在连接设备之前启用 允许仅在充电模式下进行ADB调试即可。

For some reason, connecting the device in Charge only mode solved the problem. Just make sure "Allow ADB debugging in charge only mode" is enabled before connecting the device.

其他模式会导致连接丢失,我已经在运行Android 8.0.0的设备上进行了测试。

Other modes caused the connection to be lost, as I have tested on my device running on Android 8.0.0.

这篇关于断开USB连接后,ADB over WiFi连接丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆