当前位置:网站首页>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
边栏推荐
- 2019 Alibaba cluster dataset Usage Summary
- [Android] kotlin code writing standardization document
- 关于这次通信故障,我想多说几句…
- Running the service with systemctl in the container reports an error: failed to get D-Bus connection: operation not permitted (solution)
- 李書福為何要親自掛帥造手機?
- 微信为什么使用 SQLite 保存聊天记录?
- 编译原理——自上而下分析与递归下降分析构造(笔记)
- 微信小程序中给event对象传递数据
- Stealing others' vulnerability reports and selling them into sidelines, and the vulnerability reward platform gives rise to "insiders"
- D binding function
猜你喜欢
Cool Lehman has a variety of AI digital human images to create a vr virtual exhibition hall with a sense of technology
[Android] kotlin code writing standardization document
SAP UI5 框架的 manifest.json
78 year old professor Huake has been chasing dreams for 40 years, and the domestic database reaches dreams to sprint for IPO
2019阿里集群数据集使用总结
Scratch epidemic isolation and nucleic acid detection Analog Electronics Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
编译原理——预测表C语言实现
Interview shock 62: what are the precautions for group by?
IP, subnet mask, gateway, default gateway
std::true_ Type and std:: false_ type
随机推荐
Nodejs developer roadmap 2022 zero foundation Learning Guide
DNS hijacking
重磅硬核 | 一文聊透对象在 JVM 中的内存布局,以及内存对齐和压缩指针的原理及应用
Solution qui ne peut pas être retournée après la mise à jour du navigateur Web flutter
Summary of Android interview questions of Dachang in 2022 (I) (including answers)
IP, subnet mask, gateway, default gateway
Jerry's watch deletes the existing dial file [chapter]
Jielizhi obtains the currently used dial information [chapter]
模板于泛型编程之declval
Fleet tutorial 13 basic introduction to listview's most commonly used scroll controls (tutorial includes source code)
High precision operation
面试突击63:MySQL 中如何去重?
带你穿越古罗马,元宇宙巴士来啦 #Invisible Cities
1700C - Helping the Nature
F200——搭载基于模型设计的国产开源飞控系统无人机
Mysqlimport imports data files into the database
Take you through ancient Rome, the meta universe bus is coming # Invisible Cities
Windows连接Linux上安装的Redis
kivy教程之在 Kivy 中支持中文以构建跨平台应用程序(教程含源码)
Distinguish between basic disk and dynamic disk RAID disk redundant array