当前位置:网站首页>ADB common commands
ADB common commands
2022-07-06 18:06:00 【u010799534】
adb Command wants to cmd Directly used in , You need to configure the environment variables first , take androidsdk Under the platform-tools Folder configuration to path Environment variable .
View all connected devices
adb devices -l
Check the port number occupied by the application
adb shell ps | grep/findstr Package name
Check that the error category under the specified port is Error Log
adb logcat *:E findstr Port number
View the log corresponding to the specified package name
adb logcat -v process|grep/findstr Package name
Save the log to the specified file
adb logcat -v time > D:log.txt
Switch to a utf-8, Solve the problem of Chinese garbled code
chcp 65001
Clear the cache of the specified package
adb shell pm clear Package name
apk install
adb install xx.apk
apk Overlay installation
adb install -r xx.apk
apk uninstall
adb uninstall xx.apk
apk Retain data uninstall
adb uninstall -k xx.apk
Check all package names installed on your phone
adb shell pm list packages If you only want to see the non system package name :adb shell pm list packages -3
screenshots
adb shell screencap /sdcard/xx.png
or
adb shell screencap /storage/emulated/0/DCIM/q.png
边栏推荐
- 1700C - Helping the Nature
- Summary of Android interview questions of Dachang in 2022 (I) (including answers)
- 趣-关于undefined的问题
- Reppoints: advanced order of deformable convolution
- Appium automated test scroll and drag_ and_ Drop slides according to element position
- Introduction to the usage of model view delegate principal-agent mechanism in QT
- 10 advanced concepts that must be understood in learning SQL
- Declval (example of return value of guidance function)
- DNS hijacking
- The shell generates JSON arrays and inserts them into the database
猜你喜欢

Interview assault 63: how to remove duplication in MySQL?
![[introduction to MySQL] the first sentence · first time in the](/img/1e/2401d821b1008922bc5f8a15de31f9.png)
[introduction to MySQL] the first sentence · first time in the "database" Mainland

传统家装有落差,VR全景家装让你体验新房落成效果

Solution qui ne peut pas être retournée après la mise à jour du navigateur Web flutter
![[Android] kotlin code writing standardization document](/img/d5/53d6a75e87af15799bf7e5d6eb92a5.png)
[Android] kotlin code writing standardization document

scratch疫情隔离和核酸检测模拟 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月

编译原理——预测表C语言实现

Today in history: the mother of Google was born; Two Turing Award pioneers born on the same day

【.NET CORE】 请求长度过长报错解决方案

【Swoole系列2.1】先把Swoole跑起来
随机推荐
Solution qui ne peut pas être retournée après la mise à jour du navigateur Web flutter
RB157-ASEMI整流桥RB157
Declval of template in generic programming
1700C - Helping the Nature
FMT开源自驾仪 | FMT中间件:一种高实时的分布式日志模块Mlog
Redis的五种数据结构
關於這次通信故障,我想多說幾句…
QT中Model-View-Delegate委托代理机制用法介绍
开源与安全的“冰与火之歌”
Establishment of graphical monitoring grafana
Sqoop I have everything you want
Spark accumulator and broadcast variables and beginners of sparksql
The integrated real-time HTAP database stonedb, how to replace MySQL and achieve nearly a hundredfold performance improvement
Will openeuler last long
Alibaba brand data bank: introduction to the most complete data bank
How to solve the error "press any to exit" when deploying multiple easycvr on one server?
Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
DNS hijacking
Shell input a string of numbers to determine whether it is a mobile phone number
Scratch epidemic isolation and nucleic acid detection Analog Electronics Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022