目录

FAQ

What Should I Do If "Unable to Load External Compile_commands.json" Is Displayed During Project Synchronization After Batch Import and Batch Removal of .so Libraries?

Symptom

After the external project source code is imported, an "invalid JSON" error message is displayed during project synchronization.

Possible Causes

The content format of the compile_commands.json file is incorrect. The file is not a valid JSON file.

Solution

Check the compile_commands.json file in the build_ohos directory and ensure that its content complies with the JSON array format.