码迷,mamicode.com
首页 > 数据库 > 详细

The ADB instructions

时间:2018-09-15 01:19:49      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:nis   file   tar   pull   str   adb shell   开启   ice   卸载   

adb kill-server 杀死adb服务。

adb start-server 开启adb服务。

adb install xxx.apk 安装应用。

adb uninstall 应用的包名。卸载应用。

adb shell 进入手机的终端。

Pull a file from the device 从设备中拉出一个文件。

Push a file onto the device 把一个文件推到当前设备上。

C:\Users\Administrator\Desktop>adb push aa.apk /mnt/sdcard 将aa.apk推到当前设备的/mnt/sdcard目录下。

C:\Users\Administrator\Desktop>adb pull /mnt/sdcard/aa.apk 将/mnt/sdcard/aa.apk拉到桌面上。

 

The ADB instructions

标签:nis   file   tar   pull   str   adb shell   开启   ice   卸载   

原文地址:https://www.cnblogs.com/lzp123456-/p/9649598.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!