Common android adb commands

Source: Internet
Author: User

1. adb --- command for capturing the screen: 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 debugging: adb connect ip Address
Adb disconnection debugging: adb disconnect
Resources occupied by the adb system: adb shell top-m 5


4. Reload the file system: busybox mount/system-o rw, remount

Mount-o remount, rw/system

Adb remount


6. View android system information
C: \ Users \ 123> adb shell
Root @ android: // # cat/system/build. prop


7. adb shell
Top-m 5
System usage

8. adb shell
Ps running service list
Kill id kills the service id


9. Restart: adb reboot


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

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.