From aae507bb062099645a099bd32215f58c9b6631a4 Mon Sep 17 00:00:00 2001 From: king_he <6384784@qq.com> Date: Thu, 30 Jun 2022 03:25:56 +0000 Subject: [PATCH] update en/device-dev/subsystems/subsys-utils-faqs.md. Signed-off-by: king_he <6384784@qq.com> --- en/device-dev/subsystems/subsys-utils-faqs.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/en/device-dev/subsystems/subsys-utils-faqs.md b/en/device-dev/subsystems/subsys-utils-faqs.md index d6999a4474..e2ee180ba0 100644 --- a/en/device-dev/subsystems/subsys-utils-faqs.md +++ b/en/device-dev/subsystems/subsys-utils-faqs.md @@ -1,18 +1,18 @@ # Utils FAQ -## 1. Failure in running the KV store on the LiteOS Cortex-A kernel \(Hi3516 or Hi3518\) due to incorrect path setting for the KV store +## 1. Failed to run the KV store on the LiteOS Cortex-A kernel \(Hi3516 or Hi3518\) due to incorrect path setting for the KV store -**Problem** +**Symptom** When the LiteOS Cortex-A kernel \(Hi3516 or Hi3518 platform\) directly calls the API provided by the KV store, the compiled executable program fails to run. **Possible Causes** -The compiled executable program is run directly without being converted to an application using **AbilityKit** APIs. In this case, the Bundle Manager Service \(BMS\) cannot correctly set the path for storing application data during application installation. As a result, the KV store fails to run. +The compiled executable program is run directly without being converted to an application using **AbilityKit** APIs. In this case, the Bundle Manager Service \(BMS\) cannot correctly set the path for storing application data during application installation. As a result, the KV store fails to run. **Solution** -Call the **UtilsSetEnv** function of the KV store to set the data storage path. +Call the **UtilsSetEnv** function of the KV store to set the data storage path. ``` UtilsSetEnv("/storage/com.example.kv"); -- GitLab