diff --git a/README.en.md b/README.en.md index d97a416..3cc704e 100644 --- a/README.en.md +++ b/README.en.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 +``` + +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 : diff --git a/README.md b/README.md index 9ef5fb5..d32c32d 100644 --- a/README.md +++ b/README.md @@ -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 +``` + +输出应用安装路径 + +输出示例: + +``` +adb shell pm path ecarx.weather + +package:/data/app/ecarx.weather-1.apk +``` + ## 与应用交互 主要是使用 `am ` 命令,常用的 `` 如下: