Skip to content

Xamarin.TensorFlow.Lite 2.16.1.7 issue with new google policy "Android 16 will require 16 KB page sizes" #1271

@deepamhatre

Description

@deepamhatre

Android framework version

net9.0-android

Affected platform version

.NET 9

Description

Google play store has came with an requirement that need to be addressed before Nov 1, 2025
"App must support 16 KB memory page sizes"

The output window when building the .NET maui android app shows following warning:
XA0141: Android 16 will require 16 KB page sizes, shared library 'libtensorflowlite_jni.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Xamarin.TensorFlow.Lite' version '2.16.1.7' which contains 'C:\Users\user-name.nuget\packages\xamarin.tensorflow.lite\2.16.1.7\lib\net9.0-android35.0\tensorflow-lite.aar'. See https://developer.android.com/guide/practices/page-sizes for more details.

Please provide the new version of "Xamarin.TensorFlow.Lite" package to support the 16 KB page size before the deadline. Otherwise, I won't be able to update my android app on the play store

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions