Closed zanovis closed 8 months ago
Can you share the adb version you have installed and android version of your device.
Android Debug Bridge version 1.0.41 Version 34.0.4-10411341
Hey, I am also facing the same issue. My adb version-- Android Debug Bridge version 1.0.41 Version 34.0.4-10411341
open vscode > ctrl+shift+p > "Developer: Toggle Developer Tools"
Then try to connect with QR/Pairing code
After the error, Share the logs from the developer console window.
Iam also getting same issue. I am trying to connect using pair code. Here is the log from developer console
@gokuls1999 thanks for sharing logs, The problem is due to ipv6 address, This may be due to your mobile data is turned on or your wifi router is using ipv6?
@aakash-pamnani Can you parse or skip the v6 address?
@aakash-pamnani Can you parse or skip the v6 address?
Yes I am working on it, but it will take some time.
Hello,
What I do is deactivate the Firewalld that my Arch Linux system has,
Then I turn on the wireless treatment plant,
active the link with synchronization code,
Then in console outside the vscode I write:
> adb pair 192.168.xx.xxx:port 463604
then from vscode I use the extension ADB QR Connect with Paired Devices
Only in this way, it connects,
With the Firewalld, try to open the ports that ADB uses from version 11 with the range 30000-4999,
> sudo firewall-cmd --add-port=30000-49999/tcp --permanent
But it doesn't work for me and the easy way is to stop the Firewalld.
Something that never worked for me is with the QR, With the Firewalld deactivated inclusive.
Then I see that my problem is the Firewalld but I do not know how to solve it and just stopping it I can connect it.
So the extension works correctly and is the configuration of each distribution with its safety is what makes it fail when connecting.
Some tried to deactivate your firewall, surely with UFW that is easier is more permissive with connections 🤔
Now updated my area home and without closing the Firewalld it connects normally, it was previously as a public area 🥲
@zanovis @Safius-Sifat @gokuls1999 @JVimes update to latest version and let me know if the problem still persist.
@aakash-pamnani I don't get "invalid port" today, thank you!
Getting this error when trying to connect via QR/Pairing Code on Windows 10. System ENV variable set for ADB