diff --git a/en/application-dev/quick-start/installing-openharmony-app.md b/en/application-dev/quick-start/installing-openharmony-app.md index 63329422b2bc4e1942211647f4027a3fc4ebf0f2..878c2c7e7d1f63ffb777df505d42ffd4bbd8996e 100644 --- a/en/application-dev/quick-start/installing-openharmony-app.md +++ b/en/application-dev/quick-start/installing-openharmony-app.md @@ -2,20 +2,10 @@ To install your OpenHarmony app, use the hdc tool to manually run the corresponding commands. -You can manually obtain the hdc tool from the open-source repository. Use the tool to send the compiled HAP package to the device and run the corresponding hdc commands to install the app. +You can manually obtain the hdc tool from the open-source repository. Use the tool to send the compiled HAP package to the device and install the app. The hdc commands are as follows: -- File sending - - **file send _localpath remotepath_** - - Example: - - ``` - hdc_std file send E:\hwadmin.hap /data/local/tmp/hwadmin.hap - ``` - - App installation **install \[-r/-d/-g\] _package_** @@ -23,7 +13,7 @@ The hdc commands are as follows: Example: ``` - hdc_std install hwadmin.hap + hdc_std install E:\hwadmin.hap ``` - Log capturing diff --git a/zh-cn/application-dev/quick-start/installing-openharmony-app.md b/zh-cn/application-dev/quick-start/installing-openharmony-app.md index a4f9215e84eceeae3c130cda4f088c9003b34a85..7dc86e978e8db0d23556c256bc7b2f6635262fb9 100644 --- a/zh-cn/application-dev/quick-start/installing-openharmony-app.md +++ b/zh-cn/application-dev/quick-start/installing-openharmony-app.md @@ -8,25 +8,17 @@ - 通过DevEco Studio安装:将设备连接上DevEco Studio后,点击![zh-cn_image_0000001239855207](figures/zh-cn_image_0000001239855207.png)按钮即可安装。 - 通过hdc工具安装:手动执行命令行完成应用的安装。 - hdc工具本身需要手动从开源仓中获取。然后使用工具将编译后的hap包发送至设备侧,然后通过hdc命令完成app的安装。 + hdc工具本身需要手动从开源仓中获取。然后使用工具将编译后的本地hap包发送至设备侧并完成安装。 相关命令如下: - - 文件发送命令 - **file send _localpath remotepath_** - - 命令示例: - - ``` - hdc_std file send E:\hwadmin.hap /data/local/tmp/hwadmin.hap - ``` - 安装命令 **install [-r/-d/-g] _package_** 命令示例: ``` - hdc_std install hwadmin.hap + hdc_std install E:\hwadmin.hap ``` - 日志抓取命令 **hilog**