当前位置:网站首页>Use the adb command to manage applications
Use the adb command to manage applications
2022-08-11 06:35:00 【rest of my life love static】
Step 1: Upload the app
adb push 

Step 2: Install the app
adb shell pm install -t -r 
Step 3: View the package name
adb shell pm list package -f
Step 4: View the startup Activity class name
4-1: adb shell
4-2: dumpsys package
4-3:找到Category为Launcher的Activity
Step 5: Launch the app
adb shell am start -n /

Step 6: Uninstall the app
adb uninstall
PS: At work, you may encounter uninstalling applications under the system. If the above command does not work, you can try the following command: adb shell pm uninstall --user 0
边栏推荐
猜你喜欢
随机推荐
开源机器学习数据库OpenMLDB贡献者计划全面启动
无效的修订:3.18.1-g262b901-dirty
[Meetup] OpenMLDBxDolphinScheduler engineering and scheduling link link characteristics, building the end-to-end MLOps workflow
Compilation exception resolution
Promise.race学习(判断多个promise对象执行最快的一个)
C语言实现简易扫雷(附带源码)
Day 72
编译异常解决
Here is a memorial
厂商推送平台-华为接入
Invalid revision: 3.18.1-g262b901-dirty
Day 85
Simple mine sweeping in C language (with source code)
Day 86
PAT乙级刷题之路
STM32-中断优先级管理NVIC
js常用方法对象及属性
Day 82
net6的Web MVC项目实现限流功能
C language implementation guess Numbers (with source code, can be directly run)