Android Studio wireless ADB error (10061)

前端 未结 27 1383
一生所求
一生所求 2020-12-13 00:46

It seems that wireless ADB has more and more issues each time I update Android Studio. Using 2.1.1, I\'m now unable to connect to my tablet using the command:



        
相关标签:
27条回答
  • 2020-12-13 01:17

    Device and PC are connected to same network connection.

    1 stay connect via USB

    2 adb kill-server

    3 adb usb

    4 adb tcpip 5555

    5 adb connect 192.168.43.1:5555

    6 adb devices (must be see two device names , one of them is by deviceIP)

    7 unplug USB cable

    0 讨论(0)
  • 2020-12-13 01:18

    You must connect the mobile device via USB first, then type adb tcpip 5555 , and then enter your device IP adb connect <your_device_ip>

    0 讨论(0)
  • 2020-12-13 01:19

    Generally you can say this error is network related, check these items first:

    • make sure your computer and your device can see each other in network mostly this means they are connected to the same router, but in more advanced scenarios your device may be connected to a wireless router and you computer may be connected to you Local Area Network. what is important is they can see each other. you can check this by pinging you device ip address from you computer.

    • make sure there is no conflict with ip addresses, this might be very simple. but if you do not use DHCP server and you enter the ip addresses in you devices you could mistakenly entered same ip address in different devices

    when you are sure about the network issues redo the famous steps

    So when you connected by USB follow these commands:

    1. stay connect via USB

    2. connect to your WIFI network (computer and mobile device both)

    3. ping DeviceIP (must be have ping to your device)

    4. adb kill-server

    5. adb usb

    6. adb tcpip 5555

      1. unplug usb cable (as per @captain_majid 's comment)
    7. adb connect yourDeviceIP

    8. adb devices (must be see two device names , one of them is by deviceIP)

    9. unplug USB cable

    Steps from could not connect to tcp:5037: cannot connect to 127.0.0.1:5037: No connection could be made because the target machine actively refused it. (10061)

    0 讨论(0)
  • 2020-12-13 01:24

    I had the same issue. These steps worked for me:

    1. connect your device with usb
    2. when your cmd already in AppData\Local\Android\Sdk\platform-tools>,type adb tcpip 5555
    3. the cmd will show restarting in TCP mode port: 5555
    4. type adb connect 192.168.43.1:5555

    Hope this can solve your issue.

    0 讨论(0)
  • 2020-12-13 01:25

    I recently faced the same problem. It occurs because your device and PC are connected to different Networks.

    0 讨论(0)
  • 2020-12-13 01:25

    Step 1. Type command in terminal adb tcpip 5555

    Step 2. Type command in terminal adb connect <your_phone_ip>:5555

    Now check in studio device Monitor tool your phone connected without wire.

    Note :- Most important your Laptop & Mobile Device Connected with same Network

    0 讨论(0)
提交回复
热议问题