• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Utils FAQ<a name="EN-US_TOPIC_0000001058735275"></a>
2
3-   [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](#section2041345718513)
4
5## 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<a name="section2041345718513"></a>
6
7**Problem**
8
9When 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.
10
11**Possible Causes**
12
13The 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.
14
15**Solution**
16
17Call the  **UtilsSetEnv**  function of the KV store to set the data storage path.
18
19```
20UtilsSetEnv("/storage/com.huawei.kv");
21```
22
23