Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What are the ten common commands of Android ADB?

Shulou Source: shulou.com Published: 2022-06-02 00:11:52 09月27日 Update

Android ADB commonly used ten commands are what, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

The full name of ADB is Android Debug Bridge, which plays the role of debugging bridge. ADB is a client-server program, in which the client is the computer you use to operate, and the server is the Android device. ADB is a tool in Android SDK that allows you to directly manage Android simulators or real Android devices.

The main functions of ADB are:

Run the shell of the device (command line)

Manage port mapping for simulators or devices

Upload / download files between computer and device

Install the local apk software to the simulator or Android device

2.ADB common commands

1. Adb devices to view connected devices

2. Adb root obtains the root permission of mobile phone.

Adb remount remounts the system partition to make it writable again

3. Adb shell enters the Shell interface of the mobile device, and press Ctrl + C to exit.

4. Upload / download files between adb push / pull computers and devices

5. Adb install/uninstall install / uninstall apk

6. Start apk directly

Adb shell am start-n breakan.test/breakan.test.TestActivity package name + class name

7. Adb shell screencap / data/screen.png screenshot

8. Adb logcat-s signature printing program log information

There are two ways here. One is to display it directly on the command line.

The other is to print it into a .txt document.

9. Adb kill/start-server starts and shuts down the ADB service

10. Adb help adb help commands

There are many ADB commands, and only ten commonly used ADB commands are listed above.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Devices commands commonly used simulators help services between customers clients tools mobile phones files servers programs systems computers management clarity functions information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux OPPO Reno Shulou Technology MariaDB Docker