当前位置:网站首页>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
边栏推荐
- RB157-ASEMI整流桥RB157
- 78 year old professor Huake has been chasing dreams for 40 years, and the domestic database reaches dreams to sprint for IPO
- Easy introduction to SQL (1): addition, deletion, modification and simple query
- adb常用命令
- Smart street lamp based on stm32+ Huawei cloud IOT design
- The easycvr authorization expiration page cannot be logged in. How to solve it?
- Four processes of program operation
- Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
- Cool Lehman has a variety of AI digital human images to create a vr virtual exhibition hall with a sense of technology
- 李书福为何要亲自挂帅造手机?
猜你喜欢
Today in history: the mother of Google was born; Two Turing Award pioneers born on the same day
Compilation principle - top-down analysis and recursive descent analysis construction (notes)
Optimization of middle alignment of loading style of device player in easycvr electronic map
F200 - UAV equipped with domestic open source flight control system based on Model Design
Cool Lehman has a variety of AI digital human images to create a vr virtual exhibition hall with a sense of technology
關於這次通信故障,我想多說幾句…
Four processes of program operation
What is the reason why the video cannot be played normally after the easycvr access device turns on the audio?
node の SQLite
Scratch epidemic isolation and nucleic acid detection Analog Electronics Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
随机推荐
How to output special symbols in shell
开源与安全的“冰与火之歌”
Flet教程之 13 ListView最常用的滚动控件 基础入门(教程含源码)
Solution qui ne peut pas être retournée après la mise à jour du navigateur Web flutter
MSF horizontal MSF port forwarding + routing table +socks5+proxychains
Easy introduction to SQL (1): addition, deletion, modification and simple query
Heavy! Ant open source trusted privacy computing framework "argot", flexible assembly of mainstream technologies, developer friendly layered design
Kivy tutorial: support Chinese in Kivy to build cross platform applications (tutorial includes source code)
It doesn't make sense without a distributed gateway
scratch疫情隔离和核酸检测模拟 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
node の SQLite
STM32按键状态机2——状态简化与增加长按功能
FMT开源自驾仪 | FMT中间件:一种高实时的分布式日志模块Mlog
TCP packet sticking problem
MarkDown语法——更好地写博客
Appium automated test scroll and drag_ and_ Drop slides according to element position
This article discusses the memory layout of objects in the JVM, as well as the principle and application of memory alignment and compression pointer
I want to say more about this communication failure
FMT open source self driving instrument | FMT middleware: a high real-time distributed log module Mlog
Unity particle special effects series - treasure chest of shining stars