HarmonyDevTools/readme.md
2024-06-24 15:06:16 +08:00

53 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

![](https://img.shields.io/badge/状态-稳定-red.svg)
![](https://img.shields.io/badge/启动时间-2024/06/20-green.svg)
![](https://img.shields.io/badge/优先级-NORMAL-blue.svg)
![GitHub Release](https://img.shields.io/github/v/release/dev-wiki/HarmonyDevTools?color=yellow&label=版本)
本项目为HarmonyOS/OpenHarmony的 toolchains 工具提供UI操作, 方便使用.
## 1. 版本说明
目前支持 hdc 工具的使用,后续会陆续增加其他工具,
hdc功能支持:
- 枚举设备/连接设备
- 重启hdc
- 版本信息显示
- 安装、卸载应用
- 导出照片
- 获取手机的UDID
- 其他命令的执行(手动输入执行)
下载地址: **Release** 页面下载最新版本。
![主界面](image/主界面.png)
## 2. 使用方式
下载最新版本, 解压如下目录, 双击 `HarmonyDevTools.exe` 运行。
![解压](image/解压后文件.png)
运行环境要求: netcore6.0, 如果双击无法运行,请下载安装 netcore6.0 runtime:
- x64版本https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-6.0.31-windows-x64-installer
- x86版本https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-6.0.31-windows-x86-installer
## 3. 更新hdc
根据OpenHarmony官方的文档: [hdc使用指导](https://docs.openharmony.cn/pages/v4.1/zh-cn/device-dev/subsystems/subsys-toolchain-hdc-guide.md),
安装DevEco以后, 设置SDK路径, 下载最新的SDK, 里面包含 toolchains
> ## 环境准备
> hdc 工具获取方式:
>
> 通过OpenHarmony sdk获取hdc在sdk的toolchains目录下。
>
> **使用举例:**
>
> 下面以windows侧使用方式举例
>
> 获取windows的sdk将hdc.exe放到磁盘某个位置即可使用。