Android中pm命令用法
来源:互联网 发布:虚拟服务器端口设置 编辑:程序博客网 时间:2024/06/05 19:03
pm命令的具体用法如下:
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 installs a 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.
PM命令在调试的时候还是非常有用的,以后可以多使用一下~~~
- Android中pm命令用法
- Android中pm命令用法
- Android中pm命令用法详解
- Android中pm命令用法详解
- android pm命令用法
- android pm命令的用法
- Android am/pm命令用法
- Android am/pm命令用法
- Pm命令用法
- Pm命令用法
- Pm命令用法
- android pm命令
- android am pm命令
- android pm 命令总结
- android am pm命令
- android am pm命令
- ---------------android am pm命令
- Android am & pm 命令
- 黑马程序员 <梦想之旅> 主函数解析
- 在 Windows Azure 虚拟机中使用 Microsoft SQL Server 安全功能
- 判断线段是否相交...并求出交点。
- Vix_API 操作 VMware
- 漫谈QWidget及其派生类(一)
- Android中pm命令用法
- 漫谈QWidget及其派生类(二)
- 漫谈QWidget及其派生类(三)
- 漫谈QWidget及其派生类(四)
- 漫谈QWidget及其派生类(五)
- hdu3480 斜率优化dp
- 国内外比较知名的php开源cms系统
- 网页重复,地址不一致,行吗
- Android SDCard Mount 流程分析