Nemoyang
Nemoyang

Reputation: 43

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

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?

Upvotes: 4

Views: 2102

Answers (2)

Mavamaarten
Mavamaarten

Reputation: 2029

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.

Upvotes: 2

Khanh Le Tran
Khanh Le Tran

Reputation: 900

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.

enter image description here

Upvotes: 0

Related Questions