Rive-android 10.4.2: Native libraries not aligned for 16KB page sizes despite using NDK27
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- build-system, mobile
Hướng nghiên cứu
Start by reproducing the issue with rive-android 10.4.2 and inspect the AAR's lib/x86/librive-android.so and armeabi-v7a/librive-android.so using APK Analyzer or Google Play Console. Compare the native libraries' LOAD section alignment against the expected 16KB alignment, and confirm that the packaged libraries no longer produce UNALIGNED warnings.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
The Rive Android library version 10.4.2 claims to support 16KB page sizes by using NDK27, but the precompiled native libraries in the AAR are still not properly aligned for
16KB page sizes, causing Google Play Console warnings and potential compatibility issues with Android 15+ devices.
Version Information
- rive-android version: 10.4.2
- Android Gradle Plugin (AGP): 8.8.2
- NDK version: Project uses latest NDK
- Compile SDK: 35
- Target SDK: 35
- Min SDK: 24
Steps to reproduce
- Add implementation(libs.rive) with version 10.4.2 to an Android project
- Build an APK/AAB targeting Android 15 (API 35)
- Analyze the APK with APK Analyzer or upload to Google Play Console
- Check the native library alignment warnings
lib/x86/librive-android.so: \e[31mUNALIGNED\e[0m (2**12)
armeabi-v7a/librive-android.so: \e[31mUNALIGNED\e[0m (2**12)
Expected behavior
When analyzing the APK/AAB with Google Play Console or APK Analyzer, all native libraries (.so files) from Rive should show proper 16KB page size alignment (16KB LOAD section alignment) for arm64-v8a and x86_64 architectures.
Additional context
According to Android documentation, NDK r28+ compiles with 16KB alignment by default,
- Ngôn ngữ chính
- Kotlin
- Star
- 545
- Fork
- 69
- Merge trung bình
- 19 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rive-app/rive-android
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
rive-app/rive-android#478 ·
-
Ratio issueĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
rive-app/rive-android#477 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
rive-app/rive-android#475 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
rive-app/rive-android#472 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
rive-app/rive-android#462 ·
Tất cả issue của rive-app/rive-android
Issue tương tự
-
Android: keyboard height remains stale when IME disappears without a closing animationCó thể đã có người làm @jaxnnux đã nhận hôm nay. Đang mởMissing info Missing repro Platform: Android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
software-mansion/react-native-reanimated#11106 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
software-mansion/enriched-markdown#1118 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
ScreenOrientationInstrumentation.uninstall() does not clear detector reference and lacks idempotent safe no-op handlingCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
open-telemetry/opentelemetry-android#2170 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
intellij-elixir/intellij-elixir#4585 ·
Maintainer thường phản hồi trong vòng 1 ngày