gpt4 book ai didi

安卓 adb : No connection could be made because the target machine actively refused it

转载 作者:行者123 更新时间:2023-12-04 18:56:22 24 4
gpt4 key购买 nike

这个问题在这里已经有了答案:





How can I connect to Android with ADB over TCP? [closed]

(37 个回答)


3年前关闭。




需要帮助。

PC-Windows 10,Samsung S4 不带 simcard(与 PC 连接到相同的 wifi,通过 USB 连接到 PC)。

至今。我有 已经尝试过取消选中/选中 USB 调试、拔出/插入 USB、开/关 Wifi、无法连接……可能有什么问题?

C:\Users\junew>adb devices

List of devices attached
d71ba392 device

C:\Users\junew>adb connect 192.168.0.27

unable to connect to 192.168.0.27:5555: cannot connect to 192.168.0.27:5555: No connection could be made because the target machine actively refused it. (10061)(nothing pops up on my screen)

C:\Users\junew>adb kill-server

C:\Users\junew>adb usb

* daemon not running; starting now at tcp:5037
* daemon started successfully

C:\Users\junew>adb connect 192.168.0.27

unable to connect to 192.168.0.27:5555: cannot connect to 192.168.0.27:5555: No connection could be made because the target machine actively refused it. (10061)(Window pops up on Samsung screen, but still unable to connect)

最佳答案

1. 使用 USB 数据线连接 PC 和设备。
2.输入以下命令:

  adb kill-server
adb tcpip 5555
adb connect YourDeviceIpAddress(e.g 192.168.0.27, you could ensure it via viewing device configuration)

关于安卓 adb : No connection could be made because the target machine actively refused it,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51922573/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com