WEB开发网
开发学院手机开发Android 开发 Android adb的常用命令 阅读

Android adb的常用命令

 2012-12-27 13:36:18 来源:WEB开发网   
核心提示:adb root - restarts the adbd daemon with root permissionsadb usb - restarts the adbd daemon listening on USBadb tcpip &
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on the specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns


adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:


- If <directory> is not specified, both /system and /data partitions will be updated.


- If it is "system" or "data", only the corresponding partition
is updated.


environmental variables:
ADB_TRACE - Print debug information. A comma separated list of the following values
1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes priority over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these debug tags are printed.

上一页  1 2 3 

Tags:Android adb 常用

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