-
Notifications
You must be signed in to change notification settings - Fork 36
ar_flutter_plugin_2 not compatible with Android 16KB page size devices #32
Description
I am facing a build/runtime issue with ar_flutter_plugin_2 when running my Flutter app on Android devices that use 16KB memory page size.
Environment
Flutter: latest stable
Dart: 3.x
Android Gradle Plugin: 8.x
Gradle: 8.x
Java: 17
Target SDK: 34
NDK: 26+
Plugin: ar_flutter_plugin_2
Device: Android device with 16KB page size
Issue
The app works correctly on standard Android devices (4KB page size), but fails on 16KB page size devices when using ar_flutter_plugin_2.
Observed issues include:
App crash on launch or when opening AR view
Native library loading failure (.so files)
Build / packaging errors related to native binaries
This issue disappears when ar_flutter_plugin_2 is removed from the project.
What I have tried
Updated Flutter and all dependencies
Clean build (flutter clean)
Updated Android Gradle Plugin and Gradle
Verified ndkVersion
Tested both APK and AAB builds
Confirmed the issue is isolated to ar_flutter_plugin_2