Adb reverse tcp not working on android connected remotely

前端 未结 2 920
离开以前
离开以前 2021-02-09 00:58

I am trying to execute reverse tcp command on a android device connected remotely(using adb connect ). But I am getting following error while exec

2条回答
  •  余生分开走
    2021-02-09 01:36

    I found that if I'm doing a TCP/IP connection, I need to set the reverse command before I connect to the remote device

    Example:

    adb tcpip 5555
    adb reverse tcp:8081 tcp:8081
    adb connect 192.168.1.113
    

    If I connect before performing the reverse, I would always get the error about multiple devices/emulators

提交回复
热议问题