Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

hmharness breaks HarmonyOS signing failures into five evidence checks

AI summary

A community article describes hmharness, an open-source HarmonyOS/OpenHarmony development-agent framework that connects project creation, builds, signing, installation, launching, log reading, and result verification with a local toolchain. It presents one hapsigntool troubleshooting run as five checks: the mode keyword, profile validity, key alias, certificate chains, and Windows paths. The current hmharness implementation automates local debug signing only; release and AppGallery Connect signing remain in the DevEco Studio or AppGallery Connect workflows. The article attributes its findings to hmharness’s public DEVLOG dated September 5, 2026, and says they were later reflected in source code and tests.

In-depth insight

The workflow gives HarmonyOS developers a reproducible way to diagnose signing and installation problems using current tool output, recorded build errors, and device logs rather than version-sensitive command examples. Its device check verifies installation, Ability launch, and a hilog lifecycle marker, but it is not a substitute for full UI or business testing.

先说工具全貌:hmharness 是一个开源的 HarmonyOS/OpenHarmony 开发智能体框架,把工程创建、检查、构建、签名、安装、启动、日志读取和结果验证接成本地工具链,让 AI 不只是生成代码,还要用本机环境证明结果;自进化行为受审批、预算、canary 和回滚约束。它不是 DevEco Studio 的替代品,而是开发智能体和鸿蒙工具链之间的验证层。本文只展开其中一环:harmony_sign 与 harmony_device_test 组成的签名排障链。 仓库:github.com/swsgbl/hmha…

命令行构建鸿蒙应用时,签名这一步最容易把人拖回“玄学排障”:命令参数看起来都对,证书文件也都在 SDK 里,最后却停在 sign-app、verify-profile 或 hdc install。更麻烦的是,网上教程常常只给一组能跑通的参数,不讲每个参数为什么存在;SDK 或工具版本一变,那组参数就成了新的坑。

这篇文章把一次真实排障拆成五个证据点:模式词、证书有效期、key alias、证书链、Windows 路径。它们不是五个孤立技巧,而是一条从“读工具帮助”到“设备日志回读”的排查链。结论来自 hmharness 2026-09-05 的公开 DEVLOG,并被后续源码和测试固化下来。

#hmharness#HarmonyOS#OpenHarmony#DevEco Studio#harmony_sign#harmony_device_test#hapsigntool#hdc#hilog#AppGallery Connect

Original · 6 min readRead the original
Group chat

No comments yet. Start the conversation.