diff --git a/CompilingAndBuilding/build-profile.json5 b/CompilingAndBuilding/build-profile.json5 index 415920ebb617f7cb86ec37eb4ef2e66ac5784d9c..e87a1eab0dd0ead938c67b09535f7382230b5bee 100644 --- a/CompilingAndBuilding/build-profile.json5 +++ b/CompilingAndBuilding/build-profile.json5 @@ -7,7 +7,6 @@ "name": "default", "signingConfig": "default", "compatibleSdkVersion": "5.0.4(16)", - "compileSdkVersion": "5.0.4(16)", "runtimeOS": "HarmonyOS", } ], diff --git a/CompilingAndBuilding/entry/build-profile.json5 b/CompilingAndBuilding/entry/build-profile.json5 index 4fb3981625e8a49a26742f337f0bb11d466e991b..c83faed8fdb3d72289bb78435c0eb2a7ce109db2 100644 --- a/CompilingAndBuilding/entry/build-profile.json5 +++ b/CompilingAndBuilding/entry/build-profile.json5 @@ -7,7 +7,11 @@ "externalNativeOptions": { "path": "../cpp/CMakeLists.txt", "arguments": "-DCMAKE_JOB_POOL_COMPILE:STRING=compile -DCMAKE_JOB_POOL_LINK:STRING=link -DCMAKE_JOB_POOLS:STRING=compile=2;link=2", - "cppFlags": "" + "cppFlags": "", + "abiFilters": [ + "x86_64", + "arm64-v8a" + ] } }, // [End external_native_options] diff --git a/CompilingAndBuilding/library/build-profile.json5 b/CompilingAndBuilding/library/build-profile.json5 index 33697d72287a53a334a540d8b3876aa74e7b1fc0..1e4ea37067352d59946179084f6d003c26b0ee0b 100644 --- a/CompilingAndBuilding/library/build-profile.json5 +++ b/CompilingAndBuilding/library/build-profile.json5 @@ -8,6 +8,7 @@ "path": "./src/main/cpp/CMakeLists.txt", "arguments": "", "abiFilters": [ + "x86_64", "arm64-v8a" ], // This is a configuration item to be added diff --git a/CompilingAndBuilding/library1/build-profile.json5 b/CompilingAndBuilding/library1/build-profile.json5 index 5d106b0fba1fa5c3b7cede87b84d56207ff2bbc7..b91446a731e258c58f918ebd11d5abc6d5025d56 100644 --- a/CompilingAndBuilding/library1/build-profile.json5 +++ b/CompilingAndBuilding/library1/build-profile.json5 @@ -9,6 +9,7 @@ "arguments": "", //Optional compilation parameters passed to CMake "abiFilters": [ + "x86_64", "arm64-v8a" ], //Used to set up the local ABI compilation environment