Search code examples
androidpython-2.7mobileandroidviewclient

How to connect to mobile phone via it's WI-FI using AndroidViewClient


AndroidViewClient is working really well with the android emulators. I would like to use adb to connect to my mobile phone via wifi instead of using USB. I guess adbclient is able to do that, is there any example of scripts to do that ?


Solution

  • To be able to use AndroidViewClient over wifi you need adb over wifi on your phone.

    Take a look at How can I connect to Android with ADB over TCP?.

    Once your device appears in adb devices list AndroidViewClient will be using it the same as over USB.