目录

Stability Overview

App stability is one of the key factors that affect user experience. Common stability issues include crashes, app freeze, memory leaks, and memory overwriting. HarmonyOS provides a comprehensive stability governance framework and a wide range of tools to support stability governance activities throughout the entire lifecycle of development, debugging, release, and O&M.

The tools used for stability governance activities include logs, app events, call chain tracing, fault management, and observation information analysis. HarmonyOS ecosystem vendors can use the app event tool to obtain fault information and further construct an online O&M system, Application Performance Management (APM), based on app events. During the development phase, developers can use the DevEco Studio debugging and tuning tools to quickly demarcate and locate stability issues. After an app is released, developers can perform various O&M activities, such as fault analysis and handling, metric measurement, and app quality analysis, based on the APM system to improve app stability.

The following best practices of stability, based on the requirements of the HarmonyOS ecosystem, introduce a complete solution for stability governance in the HarmonyOS ecosystem, covering fault stability detection, stability analysis, stability optimization, stability cases, and stability O&M.