当前位置:网站首页>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
边栏推荐
- Olivetin can safely run shell commands on Web pages (Part 1)
- 10 advanced concepts that must be understood in learning SQL
- Zen integration nails, bugs, needs, etc. are reminded by nails
- Shell input a string of numbers to determine whether it is a mobile phone number
- sql语句优化,order by desc速度优化
- 2019 Alibaba cluster dataset Usage Summary
- Dichotomy (integer dichotomy, real dichotomy)
- SQL statement optimization, order by desc speed optimization
- The easycvr authorization expiration page cannot be logged in. How to solve it?
- 容器里用systemctl运行服务报错:Failed to get D-Bus connection: Operation not permitted(解决方法)
猜你喜欢

Declval (example of return value of guidance function)

Getting started with pytest ----- allow generate report

std::true_type和std::false_type

Why should Li Shufu personally take charge of building mobile phones?

IP, subnet mask, gateway, default gateway

Selected technical experts from China Mobile, ant, SF, and Xingsheng will show you the guarantee of architecture stability

推荐好用的后台管理脚手架,人人开源

C语言指针*p++、*(p++)、*++p、*(++p)、(*p)++、++(*p)对比实例

C语言通过指针交换两个数

Solution qui ne peut pas être retournée après la mise à jour du navigateur Web flutter
随机推荐
IP, subnet mask, gateway, default gateway
How to solve the error "press any to exit" when deploying multiple easycvr on one server?
Declval (example of return value of guidance function)
基本磁盘与动态磁盘 RAID磁盘冗余阵列区分
Scratch epidemic isolation and nucleic acid detection Analog Electronics Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
传统家装有落差,VR全景家装让你体验新房落成效果
Flet教程之 13 ListView最常用的滚动控件 基础入门(教程含源码)
Jerry's updated equipment resource document [chapter]
SAP UI5 框架的 manifest.json
30 分钟看懂 PCA 主成分分析
李書福為何要親自掛帥造手機?
Zen integration nails, bugs, needs, etc. are reminded by nails
模板于泛型编程之declval
酷雷曼多种AI数字人形象,打造科技感VR虚拟展厅
Selected technical experts from China Mobile, ant, SF, and Xingsheng will show you the guarantee of architecture stability
HMS Core 机器学习服务打造同传翻译新“声”态,AI让国际交流更顺畅
二分(整数二分、实数二分)
Dichotomy (integer dichotomy, real dichotomy)
VR全景婚礼,帮助新人记录浪漫且美好的场景
Open source and safe "song of ice and fire"