亚行的shell命令,使Android包卸载对话框出现 [英] adb shell command to make Android package uninstall dialog appear

查看:114
本文介绍了亚行的shell命令,使Android包卸载对话框出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有亚洲开发银行运行和设备连接到我的系统在调试模式下,

I have adb running and device is connected to my System in debugging mode,

我想用亚行壳意图的推出,使用卸载应用程序的 上午开始<意图>

I want to uninstall app using intent launch in adb shell, using am start <INTENT>

我不希望使用亚行卸载com.company.apppackage 卸载,不希望即使使用时卸载做com.company.apppackage

I don't want to uninstall using adb uninstall com.company.apppackage and don't want to do it even by using pm uninstall com.company.apppackage

有什么办法,我可以使用意图的行动中删除( android.intent.action.DELETE )和用户得到提示卸载某些程序。

Is there any way that i can use intent's action delete (android.intent.action.DELETE) and user gets prompt to uninstall some program.

推荐答案

您可以从亚行使用此命令做到这一点:

You can do it from adb using this command:

adb shell am start -a android.intent.action.DELETE -d package:<your app package>

这篇关于亚行的shell命令,使Android包卸载对话框出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆