Common ADB commands

Source: Internet
Author: User

Adbdevices to see if the phone is connected and how many phones are connected

ADB devices-l viewing device information

ADB install APK file name. APK installation Software

ADB install-r apk file name. apk Reinstall the SOFTWARE

ADB uninstall APK package name apk uninstall software

ADB logcat View the running logs on your phone

ADB bugrep ort view bug report

ADB pull <A> <B> A is the phone path, B is the computer path, meaning: Copy the file from the phone to the computer

ADB push <B> <A> A is the phone path, B is the computer path, meaning: Copy the file from the computer to the phone

ADB shell PS View phone process

ADB shell enters the shell of the setup or simulator

ADB forward tcp:5555 tcp:8000 can set any port number as the host to the emulator or device request port

ADB get-product gets the ID of the device

ADB Get-serialno get the serial number of the device

Common ADB commands

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.