Run/install/debug Android applications over Wi-Fi?

前端 未结 30 2654
[愿得一人]
[愿得一人] 2020-11-22 07:16

I thought there was a way to test your applications in development over Wi-Fi. Is this possible?

I\'d love to be able to untether my phone and develop wirelessly.

30条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-22 07:55

    Connect the device via USB and make sure debugging is working. these steps are taken if you already have installed adb and set it's path in environment varialbe

    1. open cmd and type the following
    2. adb tcpip 5555
    3. find the IP address with adb shell ip route
    4. adb connect DEVICE_IP_ADDRESS:5555
    5. Disconnect USB and proceed with wireless debugging.

提交回复
热议问题