【问题标题】:Unistall app from shell using ADB使用 ADB 从 shell 卸载应用程序
【发布时间】:2017-04-18 22:22:24
【问题描述】:

我已使用 ADB 将 smarthpone(已root)连接到 PC (Linux)。 Eveything 工作正常,除了我无法从 shell 中卸载应用程序。我试过了:

adb unistall com.mirsoft.passwordmemory
adb unistall -k com.mirsoft.passwordmemory

我得到 帮助消息 作为回报。 我也试过:

adb shell pm unistall com.mirsoft.passwordmemory
adb shell pm unistall -k com.mirsoft.passwordmemory

得到回报

Error: unknown command 'unistall'

随后是帮助消息

其他命令工作正常。 难道我做错了什么?

【问题讨论】:

    标签: android shell adb


    【解决方案1】:

    uninstalli 之后有一个n。使用adb uninstall com.mirsoft.passwordmemory

    【讨论】:

    • @Ollaw:这取决于你。
    【解决方案2】:

    你也可以尝试用rm命令卸载:

    adb shell rm com.mirsoft.passwordmemory
    

    不要忘记通常使用su 命令来授予超级用户权限。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-08-17
      • 1970-01-01
      • 2021-06-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多