Can't connect to Android via ADB over wifi - Do I need root access?

前端 未结 10 1388
梦毁少年i
梦毁少年i 2020-12-14 21:32

I\'m basically trying to do this: How can I connect to Android with ADB over TCP? with the Droid X2.

I have USB Debugging on, and my phone is plugged in via USB. The

相关标签:
10条回答
  • 2020-12-14 22:17

    I've encoutered the same problem, and my device was rooted. The problem actually came from adbd Insecure. If you installed adbd Insecure on your device, it will prevent you from connecting to your device via WiFi. You have to uncheck the "Enable insecure adbd" in the app adbd Insecure.

    See FIXED: Can't connect to adb over wifi

    0 讨论(0)
  • 2020-12-14 22:18

    Step 1 . Go to Androidsdk\platform-tools on PC/Laptop

    Step 2 :

    Connect your device via USB and run:

    adb kill-server

    then run

    adb tcpip 5555

    you will see below message...

    daemon not running. starting it now on port 5037 * daemon started successfully * restarting in TCP mode port: 5555

    Step3:

    Now open new CMD window,

    Go to Androidsdk\platform-tools

    Now run

    adb connect xx.xx.xx.xx:5555 (xx.xx.xx.xx is device IP)

    Step4: Disconnect your device from USB and it will work as if connected from your Android studio.

    0 讨论(0)
  • 2020-12-14 22:19

    After you run setprop service.adb.tcp.port 5555 and restart adb you won't see the device if you run adb devices on the host.

    Instead, you have to run adb connect 10.0.78.33:5555

    0 讨论(0)
  • 2020-12-14 22:20

    Root IS needed to change that system properties. However, it is not needed to start adb over wifi.
    You can forward the ports while connected through USB and then tell the adb daemon to listen over a certain frequency:
    ADB over wirless

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