当前位置:网站首页>Introduction to ADB tools

Introduction to ADB tools

2022-07-08 01:50:00 tlucky1

1. Function is introduced

adb(android debug brige),android Commissioning Bridge , Unwanted root Permission can get high operation permission , Command line tool , It has many functions , Connectable android equipment .adb Commands can be used to perform various device operations , Such as installing and debugging applications , because android Use linux kernel , So you can adb Enter... On the command line linux Command to view some information files of the connected device .

2. Common commands

1.adb kill-server
end adb service
2.adb start-server
Turn on adb service
3.adb reboot
restart adb service
4.adb devices
View online devices , The following figure shows yes 2 platform Android Equipment can be connected
 Insert picture description here

5.adb shell
When there is a connectable device , You can use it directly adb shell Connect , When there is more than one connectable device , Use adb -s Device number shell
 Insert picture description here

6.adb logcat /adb logcat -C
adb logcat Check the log
adb logcat -C Clear cached logs
7.adb install appname.apk
install app
 Insert picture description here

8.adb shell top -s 10
Before checking the occupied memory 10 The process of

 Insert picture description here

原网站

版权声明
本文为[tlucky1]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/189/202207080029330244.html