diff --git a/build.gradle.kts b/build.gradle.kts index 1b09e15..8f09e75 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ plugins { android { namespace = "ai.moonshine.voice" compileSdk = 35 - ndkVersion = "25.2.9519653" + ndkVersion = "28.2.13676358" defaultConfig { minSdk = 35 @@ -19,6 +19,11 @@ android { // Only build for ARM64 to match the app module abiFilters += listOf("arm64-v8a") } + externalNativeBuild { + cmake { + arguments("-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON") + } + } } sourceSets { @@ -88,4 +93,4 @@ dependencies { testImplementation(libs.junit) androidTestImplementation(libs.ext.junit) androidTestImplementation(libs.espresso.core) -} \ No newline at end of file +}