加入收藏 | 设为首页 | 会员中心 | 我要投稿 PHP编程网 - 黄冈站长网 (http://www.0713zz.com/)- 数据应用、建站、人体识别、智能机器人、语音技术!
当前位置: 首页 > 创业 > 政策 > 正文

adb.exe是什么进程 adb.exe命令详解

发布时间:2016-11-28 12:13:37 所属栏目:政策 来源:站长网
导读:ADB全称Android Debug Bridge, 是android sdk里的一个工具, 用这个工具可以直接操作管理android模拟器或者真实的andriod设备(如G1手机). 它的主要功能有: * 运行设备的shell(命令行) * 管理模拟器或设备的端口映射 * 计算机和设备之间上传/下载文件 * 将本

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编程网 - 黄冈站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

推荐文章
    热点阅读