How to set up ADB for remote machine development and local device deployment

来源:互联网 发布:网络红歌2017火爆歌曲 编辑:程序博客网 时间:2024/05/29 10:12

Beginning Android 4.3 you can:

  1. Make adb server listen on all interfaces. You have two options:
    • Make gListen=1 and recompile adb (I have compiled it on Linux-x64 machine for you and put it here)
    • Start adb server with -a parameter: adb -a -P 5037 fork-server server&
  2. Use adb on your remote machine with extra parameter, e.g. adb -H <remote_host> shell

    adb -H 172.20.35.90 -s 97f4eecc shell input tap 100 100

0 0
原创粉丝点击