如何在不知道包名称的情况下从adb删除应用程序? [英] How to delete an app from adb without knowing it's package name?

查看:93
本文介绍了如何在不知道包名称的情况下从adb删除应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用以下命令删除应用程序(我自己编写并通过SDK安装):

I can delete apps (that I code myself and install through the SDK) using this command:

adb uninstall com.company.apppackage  

如何通过命令行使用 adb 如果我不知道程序包名称?

How do I uninstall this through the command line using adb if I do not know the package name?

例如,如果某个应用程序在Android主菜单中显示为我的应用程序,如何如果我不知道它的软件包名称,可以删除它吗?

For example, if an app shows up in the Android main menu as "My Application", how can I delete it if I do not know it's package name?

或者,是否可以通过某种方式知道应用程序内部软件包的名称?

Or alternatively, is there a way to somehow know an apps internal package name?

推荐答案

尝试:

adb root

然后输入adb shell

Then enter adb shell

adb shell 

找出您的应用程序包名称:

Find out your apps package name:

pm list packages | grep "your app name/something related to your app name"

然后使用:

adb uninstall 

pm uninstall

这篇关于如何在不知道包名称的情况下从adb删除应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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