WEB开发网
开发学院手机开发Android 开发 adb (Android Debug Bridge) Android 调试桥 阅读

adb (Android Debug Bridge) Android 调试桥

 2010-03-25 16:45:00 来源:WEB开发网   
核心提示:from a specified local port to a specified remote port on the emulator/device instance. Port specifications can use these schemes:tcp:local:dev:jdwp:ppp [parm].
from a specified local port to a specified remote port on the emulator/device instance. Port specifications can use these schemes:

tcp:

local:

dev:

jdwp:

ppp [parm]... Run PPP over USB.

— the tty for PPP stream. For example dev:/dev/omap_csmi_ttyl.

[parm]... &mdash zero or more PPP/PPPD options, such as defaultroute, local, notty, etc.

Note that you should not automatically start a PDP connection.

Scripting get-serialno Prints the adb instance serial number string. See Querying for Emulator/Device Instances for more information.

get-state Prints the adb state of an emulator/device instance.

wait-for-device Blocks execution until the device is online — that is, until the instance state is device. You can prepend this command to other adb commands, in which case adb will wait until the emulator/device instance is connected before issuing the other commands. Here's an example: adb wait-for-device shell getpropNote that this command does not cause adb to wait until the entire system is fully booted. For that reason, you should not prepend it to other commands that require a fully booted system. As an example, the install requires the Android package manager, which is available only after the system is fully booted. A command such as adb wait-for-device install .apkwould issue the install command as soon as the emulator or device instance connected to the adb server, but before the Android system was fully booted, so it would result in an error.

Server start-server Checks whether the adb server process is running and starts it, if not.

kill-server Terminates the adb server process.

Shell shell Starts a remote shell in the target emulator/device instance.

上一页  1 2 3 4 5 6 7  下一页

Tags:adb Android Debug

编辑录入:coldstar [复制链接] [打 印]
赞助商链接