• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# FAQs
2
3## Failed to Find the Header File During Compilation or Running
4
5### Symptom
6
7The message "usb/usb_ddk_api.h not found" or "hid/hid_ddk_api.h not found" is displayed during compilation or running.
8
9### Solution
10
11- If an error is reported during compilation, check whether the OpenHarmony version is the latest.
12
13- If an error is reported during running, check whether the device version is <!--RP1-->4.1 Release<!--RP1End--> or later.
14
15## Version Mismatch Displayed During HAP Installation
16
17### Symptom
18
19The message "compileSdkVersion and releaseType of the app do not match the apiVersion and releaseType on the device" is displayed during HAP installation.
20
21### Solution
22
23Check whether the system version of the device is correct according to the mapping provided in [Version Mapping](#version-mapping).
24
25### Version Mapping
26
27| API Type| Minimum API Version| OpenHarmony Version|
28| ------------ | ------------ | ------------ |
29| Application development APIs (ArkTS APIs)| API10 | <!--RP2-->4.0 Release<!--RP2End--> or later|
30| USB DDK APIs| API10 | <!--RP3-->4.0 Release<!--RP3End--> or later|
31| HID DDK APIs| API11 | <!--RP4-->4.1 Release<!--RP4End--> or later|
32
33
34## Failed to Parse the Local .so File During HAP Installation
35
36### Symptom
37
38The message "code:9568347 error: install parse native so failed" is displayed during HAP installation.
39
40### Solution
41
42Configure the value of **abiFilters** in **buildOption/externalNativeOptions** in the **build-profile.json5** file. For details, see [Application Debugging] (https://developer.huawei.com/consumer/en/doc/harmonyos-faqs-V5/faqs-app-debugging-14-V5).
43