Android Studio wireless ADB error (10061)

前端 未结 27 1385
一生所求
一生所求 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:35

    Unfortunately this issue can be caused by different reasons. One of the reasons - make sure previous communication is disconnected.

    USE:
    1. adb kill-server
    2. Issue command adb disconnect after restarting adb server. Do same thing after finishing job
    3. run adb remount
    4. adb tcpip 50555 (I usually use higher port number)
    5. unplug USB cable
    6. adb connect device_ip:50555

    when done run adb disconnect

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

    I got this error when trying to establish an ADB connection to a smartwatch with WearOS 1.0 (Huawei Watch 2) via WiFi. Enabling the menu entry for fixing some WLAN issue ("Fix error via WLAN" -- my own rough translation of the German caption "Fehler über WLAN beheben") in the "Developer options" on the WearOS device solved the issue for me.

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

    I resolve the problem like that :

    • on Android device activate the developer mode (Setting->Device->Build 7 time)
    • In developer mode activate debugging mode
    • then adb connect xx.xx.xx.xx
    • then a windows appear in android, click accept the connexion

    Michael

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

    I have attempted to use many solutions above to no avail and found some pretty simple solution that works for myself.

    If you are using a real device to debug like me, you may check the device official website to download the android USB driver for your development environment.

    I'm using Samsung phone to debug and using windows as development environment thus I went here, download the Android USB Drivers for Windows and run it.

    It resolves my ADB problem.

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

    I had same issue with Android Studio 3.5.2, here is how i solved it.

    1. First you must connect your device via USB once. (Debugging mode starts only when usb is connected)

    2. Go to command prompt : adb tcpip 5555 (watch for port on which adb started) then : adb connect :

    3. After successful connection goto Studio>Run>Select Device.

    0 讨论(0)
  • 2020-12-13 01:42
    Make sure you have to connect your phone through a USB cable for the first time.
    Using Command prompt, Go to your Android SDK Directory (sdk->Platform-tools) and then 
    run the following commands
    1-  adb kill-server
    2-  adb tcpip 5555
    3-  adb connect 192.168.1.130 (Replace IP Address with your phone IP)
    4-  Now you can unplug it.
    5-  Then go to the Android studio and choose the device with IP address in 
        Run 
        Dropdown. Hope this will help it for everyone.
       And then for next times just runs following command
       adb connect 192.168.1.130:5555
    
     Note: If Device is not showing in Android studio devices dropdown then 
           connect **USB** and run following commands
     1-adb kill-server
     2-adb usb
     3-adb tcpip 5555
     4-adb connect 192.168.1.130:5555
    
    0 讨论(0)
提交回复
热议问题