Android Studio无法通过WiFi连接我的手机

huangapple go评论59阅读模式
英文:

Android studio not connecting my phone over wifi

问题

Pairing devices over wifi is so buggy on this Android studio. Sometimes it refuses to show a QR code, sometimes it shows the code but keeps saying an error occurred while connecting.

Even though my device has been connected several times before, it refuses to connect again. I have to delete the device from the list of devices in device manager of android studio.

Restarting laptop/android studio, phone/ etc resolves it, but I can't keep restarting everything for this stupid piece of software.

Does anyone have a solution for this?

英文:

Pairing devices over wifi is so buggy on this Android studio. Sometimes it refuses to show a QR code, sometimes it shows the code but keeps saying an error occurred while connecting.

Even though my device has been connected several times before, it refuses to connect again. I have to delete the device from the list of devices in device manager of android studio.

Restarting laptop/android studio, phone/ etc resolves it, but I can't keep restarting everything for this stupid piece of software.

Does anyone have a solution for this?
Android Studio无法通过WiFi连接我的手机

答案1

得分: 2

Run: 在您的终端中运行 adb connect <IP 地址>:<端口> 每当您的移动设备无法连接时。

您可以在您手机的设置中找到 IP 和端口 设置>开发者选项>无线调试

参考链接:https://android.stackexchange.com/questions/247908/wireless-android-debugging-not-working

英文:

Run: adb connect <IP address>:<Port> in your terminal whenever your mobile fails to connect.

You can find the IP and port in your phone's settings Settings>Developer Option>Wireless Debugging.

Reference
<https://android.stackexchange.com/questions/247908/wireless-android-debugging-not-working>

huangapple
  • 本文由 发表于 2023年5月18日 05:50:22
  • 转载请务必保留本文链接:https://go.coder-hub.com/76276425.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定