adb jdwp ndash; list PIDs of processes hosting a JDWP transport adb install [-l] [-r] lt;filegt; ndash; push this package file to the device and install it (lsquo;-lrsquo; means forward-lock the app) (lsquo;-rrsquo; means reinstall the app, keeping its data) adb uninstall [-k] lt;packagegt; ndash; remove this app package from the device (lsquo;-krsquo; means keep the data and cache directories) adb bugreportnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; return all information from the device that should be included in a bug report. adb helpnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; show this help message adb versionnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; show version num
DATAOPTS: (no option)nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; donrsquo;t touch the data partition -wnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; wipe the data partition -dnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; flash the data partition scripting: adb wait-for-devicenbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; block until device is online adb start-servernbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; ensure that there is a server running adb kill-servernbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; kill the server if it is running adb get-statenbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; prints: offline | bootloader | device adb get-serialnonbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; prints: lt;serial-numbergt; adb status-windownbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; continuously print device status for a specified device adb remountnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; remounts the /system partition on the device re ad-write adb rootnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; ndash; restarts adb with root permissions networking: adb ppp lt;ttygt; [parameters]nbsp;nbsp; ndash; Run PPP over USB. Note: you should not automatically start a PDP connection. lt;ttygt; refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1 [parameters] ndash; Eg. defaultroute debug dump local notty usepeerdns adb sync notes: adb sync [ lt;directorygt; ] lt;localdirgt; can be interpreted in several ways: - If lt;directorygt; is not specified, both /system and /data partitions will be updated. - If it is ldquo;systemrdquo; or ldquo;datardquo;, only the corresponding partition is updated (编辑:PHP编程网 - 黄冈站长网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|