Android ADB frequently used commands

Source: Internet
Author: User

1.ADB---order screen capture: adb shell Screencap-p | Sed ' s/\r$//' > Outputs.png


2.jni---command: $NDK/ndk-build


3. ADB startup program: ADB shell am START-N Package Name/Program activity class name (main)
ADB Installer: adb install + path
ADB Uninstall program: ADB uninstall + package name
ADB debug: ADB connect IP Address
ADB disconnect debug: adb disconnect
ADB system occupation resources: ADB shell top-m 5


4. Loading the file system again: BusyBox Mount/system/system-o Rw,remount

Mount-o Remount,rw/system

ADB remount


6. View Android System Information
C:\USERS\123>ADB Shell
[Email protected]:/# Cat/system/build.prop


7.ADB Shell
Top-m 5
System usage

8.ADB Shell
PS Execution Service List
Kill ID kills Service ID


9. Restart: adb reboot


10. Copy: cp/storage/external---/sdcard1/123.apk

Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.

Android ADB frequently used commands

Related Article

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.