问题
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