使用adb命令,安装、卸载、冻结、解冻 应用

2026/04/09Android 82 阅读

为指定用户卸载 adb shell pm uninstall -k --user 0 com.tencent.wmpf 为指定用户启用 adb shell pm install-existing --user 0 com.tencent.wmpf

重新安装 adb install -r path_to_your_app.apk 冻结应用 adb shell pm disable-user 包名

解冻应用 adb shell pm enable 包名

重启 adb reboot