Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the ten common commands of Android ADB?

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report