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