docs: adb command pm path 查看apk安装路径 (#52)

master
lucky9322 7 years ago committed by Zhuang Ma
parent 106c7cf310
commit bb44b668cd
  1. 21
      README.en.md
  2. 19
      README.md

@ -36,6 +36,7 @@ Other languages: [:cn: Chinese](./README.md)
* [View Reception Activity](#view-reception-activity)
* [View Running Services](#view-running-services)
* [Query package detail information](#query-package-detail-information)
* [Query application installation path](#query-application-installation-path)
* [Interact with Applications](#interact-with-applications)
* [Start an Activity](#start-an-activity)
* [Start a Service](#start-a-service)
@ -754,6 +755,26 @@ Dexopt state:
te]
```
### Query application installation path
command:
```
adb shell pm path <PACKAGE>
```
Output shows application installation path.
Example output:
```
adb shell pm path ecarx.weather
package:/data/app/ecarx.weather-1.apk
```
## Interact with Applications
The most used syntax for interacting with applications is :

@ -36,6 +36,7 @@ Other languages: [:gb: English](./README.en.md)
* [查看前台 Activity](#查看前台-activity)
* [查看正在运行的 Services](#查看正在运行的-services)
* [查看应用详细信息](#查看应用详细信息)
* [查看应用安装路径](#查看应用安装路径)
* [与应用交互](#与应用交互)
* [调起 Activity](#调起-activity)
* [调起 Service](#调起-service)
@ -765,6 +766,24 @@ Dexopt state:
te]
```
### 查看应用安装路径
命令:
```
adb shell pm path <PACKAGE>
```
输出应用安装路径
输出示例:
```
adb shell pm path ecarx.weather
package:/data/app/ecarx.weather-1.apk
```
## 与应用交互
主要是使用 `am <command>` 命令,常用的 `<command>` 如下:

Loading…
Cancel
Save