rive-app / rive-app/rive-android

crash on 8.2.2

Open
#303 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs repro question
Dominant language
Kotlin
Stars
538
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Description

Crash affecting many users.

rive version: 8.2.2

Provide a Repro
Fatal Exception: java.lang.UnsatisfiedLinkError: No implementation found for long app.rive.runtime.kotlin.renderers.Renderer.constructor(boolean, int) (tried Java_app_rive_runtime_kotlin_renderers_Renderer_constructor and Java_app_rive_runtime_kotlin_renderers_Renderer_constructor__ZI)
       at app.rive.runtime.kotlin.renderers.Renderer.constructor(Renderer.kt)
       at app.rive.runtime.kotlin.renderers.Renderer.make(Renderer.kt:62)
       at app.rive.runtime.kotlin.RiveTextureView.onAttachedToWindow(RiveTextureView.kt:69)
       at app.rive.runtime.kotlin.RiveAnimationView.onAttachedToWindow(RiveAnimationView.kt:713)
       at android.view.View.dispatchAttachedToWindow(View.java:20188)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3519)
       at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2137)
       at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1809)
       at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8119)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1043)
       at android.view.Choreographer.doCallbacks(Choreographer.java:866)
       at android.view.Choreographer.doFrame(Choreographer.java:801)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1028)
       at android.os.Handler.handleCallback(Handler.java:883)
       at android.os.Handler.dispatchMessage(Handler.java:100)
       at android.os.Looper.loop(Looper.java:214)
       at android.app.ActivityThread.main(ActivityThread.java:7615)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
Source .riv/.rev file

ticket_stars_and_flare.riv.zip

Expected behavior

no crash

Device & Versions (please complete the following information)
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Renderer.kt at Renderer.make and the onAttachedToWindow paths in RiveTextureView.kt and RiveAnimationView.kt, using the attached ticket_stars_and_flare.riv file with version 8.2.2. Trace the reported UnsatisfiedLinkError and verify that attaching the view no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.