79757810

Date: 2025-09-06 21:48:51
Score: 2.5
Natty:
Report link

Google's basically getting ready for Android 15 which will support 16KB page sizes (instead of the traditional 4KB), and they're warning developers ahead of time.

So here's the deal - this isn't really a Capacitor-specific issue, it's more about the native libraries that get bundled with your app. The good news is that Capacitor 7.4.2 should actually be fine on their end, but the warning is probably coming from one of your plugins or their dependencies.

First thing I'd check - do you have any other Capacitor plugins installed beyond the ones you listed? Stuff like camera, filesystem, push notifications, etc? Those are usually the culprits because they might include older native libraries.

Quick fix to try:

  1. Update all your Capacitor plugins to their latest versions (not just core)

  2. In your android/app/build.gradle, bump your compileSdkVersion and targetSdkVersion to 34 if they're not already

  3. Clean and rebuild: npx cap sync android then rebuild

If you're still getting the warning after that, you might need to add this to your android/app/build.gradle:

android {
    packagingOptions {
        jniLibs {
            useLegacyPackaging = false
        }
    }
}

The nuclear option if nothing else works - you can actually ignore this warning for now since 16KB page support isn't mandatory yet. But it's better to fix it since Google will eventually require it.

Also worth checking if you have any old .so files hanging around in your android folders from previous builds. Sometimes a clean build (rm -rf android/app/build before syncing) helps.

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have any
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: kingkongda3rd