androidandroid-studiogradleandroid-gradle-plugin

The '16 KB page sizes' issue wasn't resolved, even though the bundle details indicated that the latest version supports 16 KB page size


On August 28, I received an email from Google Play Support asking me to update and publish my app to support the 16KB Page Size requirement before November 1. I checked the bundle details and it confirmed that the current version did not support 16 KB Page Size.

Bundle Details mentioned that my app does not support 16 KB Page Size

As shown in the detail description and follow the guideline, I update the versions of the following components

Then I build and published the new version on September 2. The bundle details confirm that the latest version supports 16KB Page Size.

Bundle Details mentioned that my app now support 16 KB Page Size

I tested my app with emulator with 'Pre-Release 16 KB Page Size Google Play Intel x86_64 Atom System Image' and everything looks normal.

To confirm that the emulator can be used to test the 16 KB Page Size, I tested with the previous version which does not support 16 KB Page Size and the app cannot started

Error shows in emulator that the previous version is not 16 KB compatible

However, after the review was completed, I returned to the issue page and found that the problem still persists.

Issue is not resolved

I use 'Analyze APK' feature in Android Studio to check the issue. But the analysis results for the .apk and .aab files were different.

When I analyze .apk file, no issue found.

APK analysis result

When I analyze .aab file, it said that the 16 KB Page Size issue exists.

AAB analysis result

I went through all the files, and none of them contain the issue.

I am wondering which part of the bundle might still contain the issue.


[Update for incorrect issue error in Android Studio]

Thank you @Risfat for pointing out the issue with Android Studio 2025.1.2. After update Android Studio to 2025.1.3 and re-analyzed the .aab file, the error is gone.

No error message in Android Studio


Solution

  • Yesterday I spent hours debugging my Flutter app. The .aab looked fine in Android Studio, but both the emulator (16kb) and Play Console showed errors. The issue is a bug in Android Studio Narwhal 2025.1.2, where AAB alignment isn’t checked properly (APKs are fine).

    Issue Screenshot

    https://github.com/flutter/flutter/issues/173949#issuecomment-3220455340
    https://issuetracker.google.com/issues/432782053?pli=1

    The fix: install the RC version (2025.1.3), upgrade NDK to r28, and update Gradle. I used gradle-8.14.2-all.zip since I couldn’t find the alpha mentioned.

    Hope I save you some time if you are on the same situation. 😊