【Android】Convenient ADB Commands

Install
bash 复制代码
adb install -r <path>
Uninstall
bash 复制代码
adb uninstall <pkg>
Start
bash 复制代码
adb shell am start -n <pkg>/.SplashActivity
Stop
bash 复制代码
adb shell am force-stop <pkg>
Reset
bash 复制代码
adb shell pm clear <pkg>
Reboot
bash 复制代码
adb reboot
Shutdown
bash 复制代码
adb reboot -p
相关推荐
我要升天!1 小时前
C语言连接 MySQL:libmysqlclient 获取方式详解
c语言·开发语言·数据库·mysql·adb
敲代码的鱼哇2 小时前
发送短信/拨打电话/获取联系人能力 UTS 插件(cz-sms)
android·前端·ios·uni-app·安卓·harmonyos·鸿蒙
用户5052372099152 小时前
Android 13/14 通知权限与前台服务适配指南
android
用户5052372099152 小时前
Android 12 适配指南:SplashScreen API 与 PendingIntent 变更
android
用户5052372099152 小时前
一张表看懂 Android 8-15 所有适配要点
android
_祝你今天愉快2 小时前
Android 12 (AOSP) 添加自定义系统服务
android
程序员陆业聪5 小时前
AI编码提效实战:Skill、Rule与上下文工程
android
程序员陆业聪5 小时前
AI驱动需求梳理与Spec编写:让PRD自动变成技术方案
android
李艺为7 小时前
Android Studio使用switch匹配资源id时报需要常量表达式解决办法
android
YaBingSec9 小时前
玄机靶场-2024ccb初赛sc05 WP
android·运维·网络·笔记·安全·ssh