当前位置:网站首页>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
边栏推荐
- 模板于泛型编程之declval
- 历史上的今天:Google 之母出生;同一天诞生的两位图灵奖先驱
- Sqoop I have everything you want
- Take you through ancient Rome, the meta universe bus is coming # Invisible Cities
- Jerry's access to additional information on the dial [article]
- Why should Li Shufu personally take charge of building mobile phones?
- Jielizhi obtains the currently used dial information [chapter]
- adb常用命令
- Fleet tutorial 13 basic introduction to listview's most commonly used scroll controls (tutorial includes source code)
- Interesting - questions about undefined
猜你喜欢
Jerry's access to additional information on the dial [article]
Manifest of SAP ui5 framework json
Four processes of program operation
Reppoints: advanced order of deformable convolution
SQL statement optimization, order by desc speed optimization
Establishment of graphical monitoring grafana
STM32 key state machine 2 - state simplification and long press function addition
Jerry's updated equipment resource document [chapter]
關於這次通信故障,我想多說幾句…
【Android】Kotlin代码编写规范化文档
随机推荐
Codeforces Round #803 (Div. 2)
酷雷曼多种AI数字人形象,打造科技感VR虚拟展厅
node の SQLite
How to solve the error "press any to exit" when deploying multiple easycvr on one server?
Interesting - questions about undefined
最新财报发布+天猫618双榜第一,耐克蓄力领跑下个50年
Codeforces Round #803 (Div. 2)
Sqoop I have everything you want
1700C - Helping the Nature
Flet教程之 13 ListView最常用的滚动控件 基础入门(教程含源码)
推荐好用的后台管理脚手架,人人开源
虚拟机VirtualBox和Vagrant安装
SQL statement optimization, order by desc speed optimization
kivy教程之在 Kivy 中支持中文以构建跨平台应用程序(教程含源码)
中移动、蚂蚁、顺丰、兴盛优选技术专家,带你了解架构稳定性保障
Markdown grammar - better blogging
[introduction to MySQL] the first sentence · first time in the "database" Mainland
The easycvr platform reports an error "ID cannot be empty" through the interface editing channel. What is the reason?
Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
FMT open source self driving instrument | FMT middleware: a high real-time distributed log module Mlog