pull <remote> <local> push <local> <remote>
forward <local> <remote>
用本地指定的端口通过socket方法远程连接模拟器/设施
tcp:<portnum> local:<UNIX
domain socket name>
dev:<character
device name> jdwp:<pid>
Ports and Networking
通过USB运行ppp:
ppp <tty> [parm]...
<tty> — the tty for PPP stream. For exampledev:/dev/omap_csmi_ttyl.
[parm]... &mdash zero or
more PPP/PPPD options, such as defaultroute ,local , not
ty , etc.
需要提醒你的不能自动启动PDP连接.
get-serialno get-state
Scripting
查看adb实例的序列号. 查看模拟器/设施的当前状态.
查看 Querying for
Emulator/Device Instances可以获得更多信息.
你可以提前把命令转载在adb的
wait-for-device
如果设备不联机就不让执行,--也就是实例状态是 device 时.
命令器中,在命令器中的命令在模拟器/设备连接之前是不会执行其它命令的. 示例如下:
adb wait-for-device

