我使用 scrcpy 和 tcpip 将我的 Linux 连接到我的手机,无需任何电缆,它可以工作,但我现在尝试使用 ngrok 服务器通过互联网连接到 adb,这是我的代码:
ngrok tcp <my-phone-ip>:5555
sudo adb tcpip 5555
sudo adb connect <ngrok_host>
但是当我打字时
scrcpy -m 1024 -s <ngrok_host>
我有这个输出:
INFO: scrcpy 1.17 <https://github.com/Genymobile/scrcpy>
adb: error: failed to get feature set: device '<ngrok_host>' not found
ERROR: "adb push" returned with value 1
free(): double free detected in tcache 2
zsh: abort scrcpy -m 1024 -s <ngrok_host>
提前致谢