【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
相关推荐
海天鹰10 小时前
PHP上传文件
android·开发语言·php
2501_9159184111 小时前
详解iOS App上架至App Store的全流程步骤与注意事项
android·macos·ios·小程序·uni-app·cocoa·iphone
码农coding12 小时前
android12 SystemUI之StatusBar(二)
android
Lesile14 小时前
Interview#1 历史演进:MVC · MVP · MVVM · MVI架构详解
android·android jetpack
杉氧15 小时前
Flutter 像素级还原实战:用 CustomPaint 与 Bezier 曲线手绘精致图针
android·前端·flutter
我命由我1234517 小时前
Android 在构建过程中,发现有两个依赖库都包含了相同路径的资源文件
android·java·开发语言·java-ee·kotlin·android-studio·android runtime
Coffeeee18 小时前
谷歌的一个优化建议,让我重新学了一遍Android里面如何正确处理位图
android·google·kotlin
冰暮流星18 小时前
mysql之新建表及对表的查询
android·数据库·mysql
用户20187928316718 小时前
彻底搞懂LayoutInflater、ViewInflater与textViewStyle优先级:XML属性为何能覆盖全局样式?
android
达达尼昂18 小时前
AI Native 工程实践:如何为 Claude 5 设计更有效的上下文
android·人工智能·后端