Streamit Laravel - Documentation

16 KB Page Size Compatibility Guide

Google Play now requires 16 KB memory page support for Android 15+ devices.
Follow these steps to update your Flutter project and verify compliance.


⚙️ Configuration Updates (4 Files)

1️⃣ Update Android Application Plugin

File: android/settings.gradle

plugins {
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.google.gms.google-services" version "4.4.1" apply false
    // Must be >= 8.6.1
    id "com.android.application" version "8.6.1" apply false
    id "org.jetbrains.kotlin.android" version "2.0.20" apply false
}

2️⃣ Update NDK Version

File: android/app/build.gradle

android {
    namespace = "handyman"
    compileSdk = 36
    // Must be >= 28.x
    ndkVersion = "28.2.13676358"
}

3️⃣ Upgrade Gradle Distribution

File: android/gradle/wrapper/gradle-wrapper.properties

distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip

4️⃣ Upgrade Flutter Dependencies

Run these commands in your terminal:

flutter upgrade
flutter pub upgrade

🔍 Verification Steps (Check 16 KB Compliance)

Step 1: Build APK

flutter clean && flutter build apk

Step 2: Open APK Analyzer

In Android Studio (2024.3+):

  • Go to Build → Analyze APK…
  • Select your APK (e.g., app/build/outputs/flutter-apk/app-release.apk)

Step 3: Inspect Alignment

Expand → lib → arm64-v8a
Look for libflutter.so and libapp.so


✅ What You’ll See in Android Studio

Success (Correct – 16 KB Supported)

  • Alignment column: shows 16 KB
  • No warnings

Example:

libflutter.so     16 KB
libapp.so         16 KB

🎯 Your app is Play Store–ready.


❌ Failure (Incorrect – 4 KB Detected)

  • Alignment column: shows 4 KB
  • Warning message:
    “A 4 KB LOAD section alignment, but 16 KB is recommended”

Example:

libflutter.so     4 KB ⚠️
libapp.so         4 KB ⚠️

🚫 Your app is not compliant.
Recheck Gradle/NDK/Plugin versions and rebuild.


🧾 Final Checklist

RequirementMinimum Version✅ Status
Android Gradle Plugin8.6.1+✔️
NDK28.2.13676358+✔️
Gradle8.7+✔️
Flutter SDKLatest stable✔️
16 KB alignment verifiedIn APK Analyzer✔️