Missing rives on Android 8.1.0

Đang mở
#397 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

@ErikUggeldahl đang làm issue này rồi.

Từ ngày 25/8/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug triage
Description

We reported an issue where Rive animations are missing from our application on Xiaomi Mi Play (MIUI Global 11.0.10 | Android 8.1.0) from [9.13.1] lib version. In your example, it crashes with any sample on the Xiaomi Mi Play:

 A  Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 10204 (Rive CmdServer), pid 10160 (runtime.example)
 V  DecorView setVisiblity: visibility = 4, Parent = ViewRoot{3b22d70 app.rive.runtime.example/app.rive.runtime.example.MainActivity,ident = 0}, this = DecorView@dec4d22[MainActivity]
 I  orig_dumpable: 1
 A  pid: 10160, tid: 10204, name: Rive CmdServer  >>> app.rive.runtime.example <<<
 A      #01 pc 000000000033b3bc  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so
 A      #02 pc 00000000003374e0  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so (rive::gpu::RenderContextGLImpl::flush(rive::gpu::FlushDescriptor const&)+2272)
 A      #03 pc 00000000003420d0  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so (rive::gpu::RenderContext::flush(rive::gpu::RenderContext::FlushResources const&)+1776)
 A      #04 pc 00000000001a47e4  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so
 A      #05 pc 0000000000203484  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so (rive::CommandServer::processCommands()+39264)
 A      #06 pc 00000000001f9aac  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so (rive::CommandServer::serveUntilDisconnect()+56)
 A      #07 pc 00000000001a42ac  /data/app/app.rive.runtime.example-lX9MXuH7xsFFso0lz8sf3g==/lib/arm64/librive-android.so
 E  channel 'c6fa9c0 app.rive.runtime.example/app.rive.runtime.example.ComposeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
 E  channel '8203db6 app.rive.runtime.example/app.rive.runtime.example.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

On other android devices like LG Q6 (Android 8.1.0) or Emulator with same Android OS is ok.

Device & Versions (please complete the following information)

Device: Some devices with Android 8.1.0
Rive version: (app.rive:rive-android:9.13.1) or newer

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rive-app/rive-android

Tất cả issue của rive-app/rive-android

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.