diff --git a/java/build.gradle.kts b/java/build.gradle.kts index 44e476e2ba..2d2f874da0 100644 --- a/java/build.gradle.kts +++ b/java/build.gradle.kts @@ -30,6 +30,7 @@ android { consumerProguardFiles("proguard-rules.pro") ndk { abiFilters.addAll(setOf("x86", "x86_64", "armeabi-v7a", "arm64-v8a")) } + externalNativeBuild { cmake { arguments("-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON") } } } externalNativeBuild { cmake { path("CMakeLists.txt") } }