PM command usage in Android

Source: Internet
Author: User

The PM command is used as follows:

Usage: PM [list | path | install | uninstall]
PM list packages [-F]
PM list permission-groups
PM list permissions [-G] [-F] [-D] [-u] [group]
PM list instrumentation [-F] [target-package]
PM path package
PM install [-L] [-R] path
PM uninstall [-K] package
PM enable package_or_component
PM disable package_or_component

The list packages command prints all packages. Use
The-F option to see their associated file.

The list permission-groups command prints all known
Permission groups.

The list permissions command prints all known
Permissions, optionally only those in Group. Use
The-G option to organize by group. Use
The-F option to print all information. Use
The-s option for a short summary. Use
The-D option to only list dangerous permissions. Use
The-u option to list only the permissions users will see.

The list instrumentation command prints all instrumentations,
Or only those that target a specified package. Use the-F Option
To see their associated file.

The path command prints the path to the. APK of a package.

The Install command installa package to the system. Use
The-L option to install the package with forward_lock. Use
The-r option to reinstall an exisiting app, keeping its data.

The uninstall command removes a package from the system. Use
The-K option to keep the data and cache directories around
After the package removal.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.