-
Notifications
You must be signed in to change notification settings - Fork 287
Description
When analyzing the generated APK/AAB that includes flutter_vlc_player: ^7.4.3, the libvlc.so libraries bundled with the plugin show as not compatible with devices using 16KB page size (introduced on newer ARMv9 devices with Android 14+ and NDK r27).
Steps to Reproduce:
Add flutter_vlc_player: ^7.4.3 to pubspec.yaml.
Build the app with:
flutter build appbundle --release
Analyze the AAB/APK (e.g., with bundletool, Android Studio APK Analyzer, or NDK validation tools).
The analyzer reports that libvlc.so does not support 16KB page size devices.
Expected behavior:
libvlc.so should be built with NDK r27+ and provide compatibility for 16KB page size devices.
Actual behavior:
The bundled libvlc.so is still built with an older toolchain and does not declare support for 16KB page size, leading to incompatibility warnings during analysis.
Environment:
Flutter: 3.x
flutter_vlc_player: 7.4.3
Gradle: 8.7.3
Kotlin: 2.1.0
Android NDK: r27 (27.0.12077973)
Analyzed APK/AAB: Release build
Root cause:
flutter_vlc_player bundles an outdated version of libVLC-Android that was compiled without 16KB page size support.
Please help me