Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Rive-android 10.4.2: Native libraries not aligned for 16KB page sizes despite using NDK27

Aperta
#415 1 commento 3 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
android, kotlin

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

triage
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
  1. Add implementation(libs.rive) with version 10.4.2 to an Android project
  2. Build an APK/AAB targeting Android 15 (API 35)
  3. Analyze the APK with APK Analyzer or upload to Google Play Console
  4. 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,

Lingua principale
Kotlin
Stelle
542
Fork
66
Merge medio
19m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rive-app/rive-android

Tutte le issue di rive-app/rive-android

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.