adb is automatically connected by the remote device,but I did not use adb connect

自作多情 提交于 2020-06-12 05:57:06

问题


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?


回答1:


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.

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 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.




回答2:


Try to restart your devices , the WIFI-debug mode will be disable. If it still connect again and you are using android device, going to develop and turn of this.



来源:https://stackoverflow.com/questions/60518426/adb-is-automatically-connected-by-the-remote-device-but-i-did-not-use-adb-connec

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!