arXiv · 2609.20099
HapCiD: Detecting API-related Compatibility Issues in OpenHarmony Apps
Abstract
OpenHarmony, an emerging open-source mobile platform, is rapidly gaining attention in the mobile development community. Its fast-evolving Software Development Kit (SDK) introduces numerous Application Programming Interfaces (APIs) to boost developer productivity but inevitably introduces compatibility challenges, an issue well known from platforms like Android. However, existing compatibility analysis tools are ineffective for OpenHarmony due to its newly introduced ArkTS programming language and the lack of a mature behavioral model to capture app execution semantics. To bridge this gap, we present HapCiD, an open-source tool for automatically detecting API-related compatibility issues in OpenHarmony apps. Applied to 4,478 apps, HapCiD successfully detects 2,040 compatibility issues across 163 apps with 100 percent accuracy. Based on these findings, we conduct a comprehensive study of compatibility issues, categorizing their types, examining existing mitigation strategies, and proposing future improvements.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Daihang Chen, Yonghui Liu, Mingyi Zhou, Li Li. 2026-09-17. HapCiD: Detecting API-related Compatibility Issues in OpenHarmony Apps. https://arxiv.org/abs/2609.20099
Cite the original work for its findings. Save a collection to share your selection of sources.