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

前端 未结 30 1750
[愿得一人]
[愿得一人] 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:45

    The adb utility does have the ability to connect to a device over TCP/IP. However, adbd is not normally listening for TCP connections.

    If you want to get it running, you need an engineering device (in other words, you need root). Then follow the directions in this post:

    How can I connect to Android with ADB over TCP?

    Since this only works on eng devices, it's not officially supported. Use at your own risk, expect bugs, etc.

提交回复
热议问题