Android adb common commands and examples

Source: Internet
Author: User

Adbkill-server kill adb

Adbstart-server start adb

Adbdevides List all the devices

Adbinstall xxx.apk Install the application . apk

Example: adb install d:\....\ xxx.apk

If you have more than one device, you need to specify the device.

adb-semulator-5554 Install d:\....\xxx.apk

Adbshell Mount to Linux terminal

Example: adb shell ( when only one device is available )

adb–s emulator-5554 Shell ( specified device when multiple devices )

Exit (Exit Shell )

adbpush<windows source file path > < mobile target >    &NBSP;&NBSP;&NBSP;&NBSP, put the computer files in the phone.

Example: ADB push D:\Android\AndroidSDK\ 360video_3.3.2_ys4123.apk/mnt/obb will be Windows under 360video_3.3.2_ys4123.apk files uploaded to the phone /mnt/obb folder under

ADB –s emulator-5554 pushD:\Android\AndroidSDK\ 360video_3.3.2_ys4123.apk/mnt/sdcard ( multiple units )

adbpull< Phone source file path > <windows directory path > Download the files from your phone to your computer.

Example: adb pull/mnt/obb/360video_3.3.2_ys4123.apk d:\

ctrl+f11 Toggle Screen

Which mounts to the terminal using commands consistent with the Linux command.


This article is from the "Linux_note" blog, make sure to keep this source http://wholelife.blog.51cto.com/9839556/1629368

Android adb common commands and examples

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.