The ADB instructions

Posted 小步快跑!!!!!

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The ADB instructions相关的知识,希望对你有一定的参考价值。

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:UsersAdministratorDesktop>adb push aa.apk /mnt/sdcard 将aa.apk推到当前设备的/mnt/sdcard目录下。

C:UsersAdministratorDesktop>adb pull /mnt/sdcard/aa.apk 将/mnt/sdcard/aa.apk拉到桌面上。

 

以上是关于The ADB instructions的主要内容,如果未能解决你的问题,请参考以下文章

安卓控件获取器uiautomatorviewer初体验:"unable to connect to the adb. check if adb is installed correctly&

The connection to adb is down, and a severe error has occured. Android ADB server didn't ACK *

The connection to adb is down, and a severe error has occured.

[Android]The connection to adb is down, and a severe error has occured.

Android 提示: The connection to adb is down, and a severe error has occured.

The connection to adb is down, and a severe error has occured