1. adb通过网络连接远程的android
adb connect 192.168.1.100
2.显示已经连接的设备
adb devices
3. 关闭本地的adb-server(所有连接上的device连接关闭 tcp)
adb kill-server
4.安装apk, 切换到apk目录下
adb install -r xxx.apk
5. 启动apk ,主目录下的MainActivity
adb shell am start -n applicationid/.MainActivity
6. 拷贝android下的 /sdcar/xxx 到本地的d:/xxx
adb pull /sdcard/xxx d:/xxx
7. 本地到手机
adb push d:/123.txt /sdcard/
8.查看网络连接
adb shell netstat
9.查看ip
adb shell ip -f inet addr
10.ping
adb shell ping www.baidu.com