Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android crash with new arch #2767

Closed
chiefchief opened this issue Nov 24, 2024 · 2 comments · Fixed by #2769
Closed

Android crash with new arch #2767

chiefchief opened this issue Nov 24, 2024 · 2 comments · Fixed by #2769
Labels

Comments

@chiefchief
Copy link

i'm using:
"@shopify/react-native-skia": "^1.5.9",
"react-native": "0.76.3",

i have a crash when run the app, output from logcat:

FATAL EXCEPTION: main
Process: com.testapp, PID: 10643
java.lang.UnsatisfiedLinkError: No implementation found for void com.shopify.reactnative.skia.SkiaDomView.setMode(java.lang.String) (tried Java_com_shopify_reactnative_skia_SkiaDomView_setMode and Java_com_shopify_reactnative_skia_SkiaDomView_setMode__Ljava_lang_String_2)
at com.shopify.reactnative.skia.SkiaDomView.setMode(Native Method)
at com.shopify.reactnative.skia.SkiaBaseViewManager.setMode(SkiaBaseViewManager.java:21)
at com.shopify.reactnative.skia.SkiaDomViewManager.setMode(SkiaDomViewManager.java:9)
at com.facebook.react.viewmanagers.SkiaDomViewManagerDelegate.setProperty(SkiaDomViewManagerDelegate.java:25)
at com.facebook.react.uimanager.ViewManagerPropertyUpdater.updateProps(ViewManagerPropertyUpdater.java:46)
at com.facebook.react.uimanager.ViewManager.updateProperties(ViewManager.java:91)
at com.facebook.react.uimanager.ViewManager.createViewInstance(ViewManager.java:195)
at com.facebook.react.uimanager.ViewManager.createView(ViewManager.java:122)
at com.facebook.react.fabric.mounting.SurfaceMountingManager.createViewUnsafe(SurfaceMountingManager.java:679)
at com.facebook.react.fabric.mounting.SurfaceMountingManager.preallocateView(SurfaceMountingManager.java:1086)
at com.facebook.react.fabric.mounting.mountitems.PreAllocateViewMountItem.execute(PreAllocateViewMountItem.java:63)
at com.facebook.react.fabric.mounting.MountItemDispatcher.executeOrEnqueue(MountItemDispatcher.java:387)
at com.facebook.react.fabric.mounting.MountItemDispatcher.dispatchPreMountItems(MountItemDispatcher.java:366)
at com.facebook.react.fabric.FabricUIManager$DispatchUIFrameCallback.doFrameGuarded(FabricUIManager.java:1387)
at com.facebook.react.fabric.GuardedFrameCallback.doFrame(GuardedFrameCallback.kt:22)
at com.facebook.react.modules.core.ReactChoreographer.frameCallback$lambda$1(ReactChoreographer.kt:60)
at com.facebook.react.modules.core.ReactChoreographer.$r8$lambda$nSkFhrr5T7rop_XKwzlLov4NLLw(Unknown Source:0)
at com.facebook.react.modules.core.ReactChoreographer$$ExternalSyntheticLambda0.doFrame(D8$$SyntheticClass:0)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:970)
at android.view.Choreographer.doCallbacks(Choreographer.java:796)
at android.view.Choreographer.doFrame(Choreographer.java:727)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:957)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
@wcandillon
Copy link
Contributor

Thank you for reporting this and sorry for the inconvenience, publishing a fix for it now

Copy link
Contributor

🎉 This issue has been resolved in version 1.5.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants