Open prife opened 4 months ago
$ /Applications/DevEco-Studio.app/Contents/sdk/HarmonyOS-NEXT-DB1/openharmony/toolchains/hdc --version
Ver: 3.0.0b
该版本在以下代码中定义:
commit 80f4e5c4e0f382c1d80da5998e606a969e43809b
Author: wenlong_12 <wenlong12@huawei.com>
Date: Tue May 21 17:25:32 2024 +0800
modify hdc cpp version number to 3.0.0c
Signed-off-by: wenlong_12 <wenlong12@huawei.com>
Change-Id: Iac29357784800449da5a8ebbd697ca32772bf7d4
diff --git a/src/common/define.h b/src/common/define.h
index 24b8eea..0c9ad49 100644
--- a/src/common/define.h
+++ b/src/common/define.h
@@ -84,8 +84,8 @@ constexpr uint16_t CMD_FILE_PENULT_PARAM = 2;
// |----------------------------------------------------------------|
// | major |reserve| minor |reserve|version| fix | reserve |
// |----------------------------------------------------------------|
-// 0x30000100 is 3.0.0b
-constexpr uint32_t HDC_VERSION_NUMBER = 0x30000100;
+// 0x30000200 is 3.0.0c
+constexpr uint32_t HDC_VERSION_NUMBER = 0x30000200;
constexpr uint32_t HDC_BUF_MAX_BYTES = INT_MAX;
#ifdef HDC_HOST
constexpr uint32_t HOST_SOCKETPAIR_SIZE = 1024 * 1024;
/Applications/DevEco-Studio.app/Contents/sdk/HarmonyOS-NEXT-DB1/openharmony/toolchains/hdc
如果出现
执行下面命令,重启hdc server
然后即可正常发现模拟器