• 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<!--RP1-->
13- If an error is reported during running, check whether the device version is 4.1 Release or later.<!--RP1End-->
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
23<!--RP2-->Check whether the system version of the device is correct<!--RP2--> according to the mapping provided in [Version Mapping](#version-mapping).
24
25### Version Mapping
26<!--RP3-->
27| API Type| Minimum API Version| OpenHarmony Version|
28| --------- | --------- | --------- |
29| Application development APIs (ArkTS APIs)| API10 | 4.0 Release or later|
30| USB DDK APIs| API10 | 4.0 Release or later|
31| HID DDK APIs| API11 | 4.0 Release or later|
32| USB Serial DDK API| API18 | 5.1 Release or later|
33| SCSI Peripheral DDK API| API18 | 5.1 Release or later|
34<!--RP3End-->
35
36## Failed to Parse the Local .so File During HAP Installation
37
38### Symptom
39
40The message "code:9568347 error: install parse native so failed" is displayed during HAP installation.
41
42### Solution
43
44Configure 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).
45