windows平台下adb的安装与使用

windows平台下adb的安装与使用

ID:8810234

大小:39.00 KB

页数:4页

时间:2018-04-08

windows平台下adb的安装与使用_第1页
windows平台下adb的安装与使用_第2页
windows平台下adb的安装与使用_第3页
windows平台下adb的安装与使用_第4页
资源描述:

《windows平台下adb的安装与使用》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库

1、Windows平台下ADB的安装与使用?AndroidSDK(如觉SDK文件过大,也可以只准备G1的USBforWindows驱动和ADB工具包)?WinRAR?G1(HTCDream)?数据线*********************************************设置手机点击“设置(Settings)”-->“应用程序(Applications)”-->“开发(Development)”-->勾选“USB调试(USBDebugging)”*******************************************

2、**安装驱动用数据线将手机和电脑连接起来,但千万不要选择“挂载(装载)”!当电脑发现新硬件后,安装好USB驱动(如果你不会装驱动,请移步这里)。如果你使用的AndroidSDK包,驱动在SDK包下的usb_driver目录下。*********************************************安装ADB将AndroidSDK包中tools目录下的adb.exe和AdbWinApi.dll复制到Windows下的system32目录下。如果你使用ADB工具包,可直接解压缩至system32目录。附:ADB文件浏览器工具(下

3、载)下载解压缩后可直接使用,使用前确保你的手机与电脑相连,并且未“挂载”。双击“ADBFileExplorerv03.exe”文件,你就可以看到你手机里的文件了(窗口右侧)。*********************************************在cmd中输入adb可以获得adb使用文档,具体如下1.-d-directscommandtotheonlyconnectedUSBdevice2.returnsanerrorifmorethanoneUSBdeviceispresent.3.-e-directscommandtot

4、heonlyrunningemulator.4.returnsanerrorifmorethanoneemulatorisrunning.5.-s-directscommandtotheUSBdeviceoremulatorwith6.thegivenserialnumber7.-p-simpleproductnamelike'sooner',or8.arelative/absolutepathtoaproduct9.outdirectorylike'out/target/product/sooner'.10.11.If-pisnotspec

5、ified,theANDROID_PRODUCT_OUT12.13.environmentvariableisused,whichmust14.beanabsolutepath.15.devices-listallconnecteddevices16.17.devicecommands:18.adbpush-copyfile/dirtodevice19.adbpull-copyfile/dirfromdevice20.adbsync[]-copyhost->deviceonlyifchanged21.(see'adbhelpall')22.a

6、dbshell-runremoteshellinteractively23.adbshell-runremoteshellcommand24.adbemu-runemulatorconsolecommand25.adblogcat[]-Viewdevicelog26.adbforward-forwardsocketconnections27.forwardspecsareoneof:28.tcp:29.localabstract:30.localreserved:31.localfilesystem:32.dev:33.jdwp:(remot

7、eonly)34.adbjdwp-listPIDsofprocesseshostingaJDWPtransport35.36.adbinstall[-l][-r]-pushthispackagefiletothedeviceandinstal37.lit38.('-l'meansforward-locktheapp)39.('-r'meansreinstalltheapp,keepingitsdata40.)41.adbuninstall[-k]-removethisapppackagefromthedevice42.('-k'meanske

8、epthedataandcachedirectories43.)44.adbbugreport-returnallinformationfromthedevice4

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。