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

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

问题描述

我试图按照 此处提供的答案通过 wifi 运行 ADB,我成功连接到设备,但在断开 USB 连接后丢失了连接.手动和插件方式的结果相同.此外,我已经尝试了 this 解决方案,以及 这个,但没有成功.

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.

需要设备 root 的解决方案对我不起作用.

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天全站免登陆