【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
相关推荐
YM52e2 小时前
鸿蒙Flutter Padding内边距:EdgeInsets详解
android·学习·flutter·华为·harmonyos·鸿蒙
Rex叶然6 小时前
ScreenMatch适配安卓屏幕脚本,用于老项目
android·screenmatch·安卓屏幕适配
阿pin6 小时前
Android随笔-Activity启动流程深度分析
android·activity启动流程
zzq77977 小时前
加固包闪退四象限定位:targetSdk 与保护策略实战解析
android·安全·安卓·安全架构
我命由我123459 小时前
Android 开发问题:Cannot resolve method ‘repeat‘ in ‘String‘
android·java·java-ee·android studio·android jetpack·android-studio·android runtime
光头闪亮亮9 小时前
Fyne ( go跨平台GUI )项目实战-scanner摄像头扫码组件开发技术详解
android·go
Android打工仔9 小时前
Continuation 到底是谁创建的?
android·kotlin
DeepAgent10 小时前
AI Agent 工程实践(17):Agent 为什么需要可观测性(Observability)?
android·llm·agent
提笔了无痕10 小时前
MySQL SQL 从 EXPLAIN 到索引优化,搞懂 SQL 为什么慢
android·sql·mysql
zhangphil10 小时前
Android OAID是什么?有什么功用?
android