high · M8 · MASVS-CODE-1 · PTKD-REVIEW-PLAY-64-BIT

    Native code without a 64-bit version

    Google Play requires apps with native code to ship a 64-bit version of it: arm64-v8a next to armeabi-v7a, x86_64 next to x86. Releases that only carry 32-bit libraries are refused, and 64-bit-only devices cannot install them.

    How it is exploited

    To shrink the APK, a developer set ndk { abiFilters 'armeabi-v7a' } years ago. Play Console now refuses the release with a 64-bit requirement error, and Pixel phones that only run 64-bit code cannot install the app at all.

    Why it matters

    A blocked release, and an app missing from 64-bit-only devices.

    How to fix it

    1. Check ndk.abiFilters (and splits.abi) in build.gradle: include arm64-v8a, and x86_64 if you include x86.
    2. Ship an Android App Bundle so Play delivers only the ABI each device needs (no size penalty).
    3. Ask vendors of prebuilt .so files for 64-bit builds, or replace the SDK.

    Does your app have this?

    PTKD checks your build or your source project for PTKD-REVIEW-PLAY-64-BIT and every other check in this knowledge base.

    Scan your app

    References

    Related checks (M8)