Android adb command Quick check table

Source: Internet
Author: User

Common commands

    • Devices # Viewing connected devices
    • Start-server # start ADB server
    • Kill-server # stop ADB server
    • Logcat # Viewing logs
    • Install # installs an APK
    • Uninstall # Uninstall an APK
    • Shell # Enter Terminal

Other commands

    • Help # View the helpful information
    • Version # View versions
    • Devices # Viewing connected devices
    • Forward # port forwarding
    • Bugreport # generate ADB error report
    • Install # installs an APK
    • Uninstall # Uninstall an APK
    • Disconnect # disconnecting the device
    • TCPIP # Listening Port
    • Connect # Connecting Devices
    • Start-server # start ADB server
    • Kill-server # stop ADB server
    • Logcat # Viewing logs
    • Reboot # Restart
    • Push # Upload
    • Pull # Download
    • Remount # Right to lift
    • Get-serialno # Get Serial number
    • Shell # Enter Terminal
    • Shell Screencap # Screen
    • Shell Screenrecord # Recording Video
    • Shell pm List Packages # List The package names of all apps installed on your phone
    • Shell pm List packages-s # Lists all package names for the system app
    • Shell pm List packages-3 # Lists all package names for third-party apps
    • Shell pm Clear # Clear app data and cache
    • Shell am Start-n # Launch app
    • Shell am Force-stop # Stop App
    • Shell am Force-stop # force Stop App
    • Shell WM Size # View screen resolution
    • Shell WM Density # view screen density

References

Https://developer.android.google.cn/studio/command-line/adb.html
Https://github.com/skywind3000/awesome-cheatsheets/blob/master/tools/adb.txt

Android adb command Quick check table

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.