3

When I tried:

adb shell 'pm list packages -f'

I got long list of options with:

NOTE: 'pm list' commands have moved! Run 'adb shell cmd package'

What is cmd and is it new place for Android's parameters discovery?

4
  • 2
    To summarize, the pm list command is now cmd packages. Try running it with adb shell cmd packages.
    – Grimoire
    Jul 1, 2018 at 13:45
  • 1
    @DeathMaskSalesman the correct syntax is "cmd package list packages".
    – user218076
    Feb 21, 2019 at 3:58
  • @user218076 True, but what I said is that pm list (without further arguments) equals cmd package: by running either, you get an usage message. My comment addressed the "what is cmd" part.
    – Grimoire
    Feb 21, 2019 at 9:13
  • 1
    @DeathMaskSalesman ok. I understand. I just figured I'll clarify it. I had struggled with figuring this out. Since I thought you responded to his question. So I tried cmd packages but got an error. It is cmd package with out the "s". Thanks
    – user218076
    Feb 21, 2019 at 13:56

0

You must log in to answer this question.

Browse other questions tagged .