I'm hitting a critical roadblock when trying to publish my application via the Google Play Console: My App Bundle is completely rejected with the persistent message:
Your app does not support 16KB memory page sizes.
This is not a warning, but a hard block preventing any submission.
I'm aware this issue is crucial for performance on specific 64-bit devices, and I have spent considerable time troubleshooting. I have followed multiple official guides and tutorials, and meticulously updated all my Android build tools to the latest versions I could find, but the rejection simply won't disappear.I am running a standard Flutter project.
I am reaching out because, based on my configuration below, the 16KB alignment should be handled automatically by the recent Android Gradle Plugin (AGP >= 8.5.1).
My Current Configuration (Latest Versions Applied)
android/gradle/wrapper/gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-all.zip
android/settings.gradle
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.12.0" apply false // <-- AGP
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
id 'com.google.gms.google-services' version '4.3.14' apply false
}
android/app/build.gradle
android {
compileSdk = 36
ndkVersion = "29.0.14206865"
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '11'
// jvmTarget = JavaVersion.VERSION_1_8
}
ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ONhereYOUR_FLUTTER_DIR/engine/src/build/config/compiler/BUILD.gnbecause you are used the ndk version r28+