adb由远程设备自动连接,但是我没有使用adb connect [英] adb is automatically connected by the remote device,but I did not use adb connect

查看:673
本文介绍了adb由远程设备自动连接,但是我没有使用adb connect的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将Android Studio更新为3.6.1时,远程设备会自动连接adb,但我没有使用adb connect .这些设备在同一个wifi下.如何解决此问题?

when I updated Android Studio to 3.6.1 adb is automatically connected by the remote device,but I did not use adb connect。These devices are under the same wifi。How can I solve this problem?

推荐答案

这似乎是最新版本的Android Studio 3.6的问题.我的几个同事似乎也遇到相同的问题,即会自动发现所有通过无线网络连接的adb-over设备并将其添加到adb的设备列表中.

This seems to be an issue with the latest version of Android Studio 3.6. A couple of my colleagues seem to have the same problem where any adb-over-wifi devices are discovered automatically and added to the device list in adb.

我在IDE或平台工具的更改日志中找不到任何与此相关的信息,也找不到可以关闭此发现的设置.建议您在Bugtracker上创建一个问题.

I could not find anything about this in the changelogs for the IDE or the platform tools, nor could I find a setting to turn this discovery off. I suggest you create an issue on the bugtracker.

@Nemoyang评论说,您可以通过将环境变量ADB_MDNS设置为0来禁用此行为.似乎Google正在通过mDNS通过wifi改进wifi上的adb,但尚未真正公开任何信息.

@Nemoyang commented that you can disable this behavior by setting an environment variable ADB_MDNS to 0. It seems Google is working on an improved adb over wifi through mDNS, but hasn't really disclosed any information.

这篇关于adb由远程设备自动连接,但是我没有使用adb connect的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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