react-native-reanimated run time build crash #6127
Labels
Missing repro
This issue need minimum repro scenario
Platform: Android
This issue is specific to Android
Description
Hi,
Getting run time build crash with the following error
FATAL EXCEPTION: main
Process: com.example, PID: 8973
java.lang.VerifyError: Verifier rejected class com.swmansion.reanimated.NodesManager: void com.swmansion.reanimated.NodesManager.startUpdatingOnAnimationFrame() failed to verify: void com.swmansion.reanimated.NodesManager.startUpdatingOnAnimationFrame(): [0xF] register v2 has type Reference: com.facebook.react.uimanager.GuardedFrameCallback but expected Reference: com.facebook.react.modules.core.ChoreographerCompat$FrameCallback
void com.swmansion.reanimated.NodesManager.stopUpdatingOnAnimationFrame() failed to verify: void com.swmansion.reanimated.NodesManager.stopUpdatingOnAnimationFrame(): [0xF] register v2 has type Reference: com.facebook.react.uimanager.GuardedFrameCallback but expected Reference: com.facebook.react.modules.core.ChoreographerCompat$FrameCallback (declaration of 'com.swmansion.reanimated.NodesManager' appears in /data/app/~~_ymoq04sBizC0p5DkVQeQA==/com.example-mOXjHn4Iv7HNDFvIIK66TQ==/base.apk!classes4.dex)
at com.swmansion.reanimated.ReanimatedModule.getNodesManager(ReanimatedModule.java:95)
at com.swmansion.reanimated.ReanimatedModule.access$000(ReanimatedModule.java:24)
at com.swmansion.reanimated.ReanimatedModule$1.execute(ReanimatedModule.java:80)
at com.facebook.react.uimanager.UIViewOperationQueue$UIBlockOperation.execute(UIViewOperationQueue.java:557)
at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:910)
at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:1023)
at com.facebook.react.uimanager.UIViewOperationQueue.-$$Nest$mflushPendingBatches(Unknown Source:0)
at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1083)
at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
at com.facebook.react.modules.core.ReactChoreographer$1.doFrame(ReactChoreographer.java:89)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1229)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
at android.view.Choreographer.doCallbacks(Choreographer.java:899)
at android.view.Choreographer.doFrame(Choreographer.java:827)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7872)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
React Native version - 0.74.1
react-native-reanimated version - 1.13.4
Steps to reproduce
4.App is getting launched but when I try to start react native app activity it crashes with the above error.
Snack or a link to a repository
...
Reanimated version
1.13.4
React Native version
0.74.1
Platforms
Android
JavaScript runtime
None
Workflow
React Native
Architecture
Paper (Old Architecture)
Build type
None
Device
Android emulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: