ohproj - Build and test OpenHarmony native projects
Creates, builds, signs, tests, and cleans signatures for NativeProj46R OpenHarmony native application projects with NAPI and ArkTS.
Tags
Updated: 2026-11-28Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create native projects
- Build main HAP
- Sign application HAPs
- Build test HAPs
- Run unit tests
- Clean project signatures
Inputs
- Project name
- Project directory
- User code directory
- Signing mode
- Test timeout
- Connected test device
Outputs
- Native project files
- Built HAP files
- Signed HAP files
- Unit test reports
- Removed autosign directory
Requirements
- HarmonyOS Command Line Tools
- OpenHarmony SDK
- Java for signing
- Signing certificate directory
- Node.js runtime
- Connected device with hdc
