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

Exception: java.lang.NoClassDefFoundError #2212

Closed
Willham12 opened this issue Jul 22, 2021 · 18 comments
Closed

Exception: java.lang.NoClassDefFoundError #2212

Willham12 opened this issue Jul 22, 2021 · 18 comments

Comments

@Willham12
Copy link

Fatal Exception: java.lang.NoClassDefFoundError
Failed resolution of: Landroidx/transition/TransitionSet;
com.swmansion.reanimated.transitions.TransitionUtils.inflateGroup (TransitionUtils.java:40)
com.swmansion.reanimated.transitions.TransitionUtils.inflate (TransitionUtils.java:28)
com.swmansion.reanimated.transitions.TransitionModule$1.execute (TransitionModule.java:33)
com.facebook.react.uimanager.UIViewOperationQueue$UIBlockOperation.execute (UIViewOperationQueue.java:573)
com.facebook.react.uimanager.UIViewOperationQueue$1.run (UIViewOperationQueue.java:908)
com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches (UIViewOperationQueue.java:1019)
com.facebook.react.uimanager.UIViewOperationQueue.access$2600 (UIViewOperationQueue.java:47)
com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded (UIViewOperationQueue.java:1079)
com.facebook.react.uimanager.GuardedFrameCallback.doFrame (GuardedFrameCallback.java:29)
com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame (ReactChoreographer.java:175)
com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame (ChoreographerCompat.java:85)

@github-actions
Copy link

Issue validator

The issue is invalid!

  • Section required but not found: description(for label 🐞 bug)
  • Section required but not found: expected behavior(for label 🐞 bug)
  • Section required but not found: actual behavior & steps to reproduce(for label 🐞 bug)
  • Section required but not found: package versions(for label 🐞 bug)

@jmysliv
Copy link
Member

jmysliv commented Jul 23, 2021

@Willham12 Can you provide some more information that will help us to fix this issue? It will be nice if you provide:

  • bug description
  • expected and actual behavior
  • some code example or steps on how we can reproduce this issue
  • your package versions

@jmysliv jmysliv self-assigned this Jul 23, 2021
@jmysliv
Copy link
Member

jmysliv commented Aug 9, 2021

@Willham12 I'm closing this issue due to inactivity. If you still encounter this issue feel free to reopen it and please provide the information I described above.

@jmysliv jmysliv closed this as completed Aug 9, 2021
@iamharisdev
Copy link

@jmysliv I'm facing this issue
Error: Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: library "libreanimated.so" not found

and as well this one
Error: Exception in HostFunction: java.lang.NoClassDefFoundError: com.swmansion.reanimated.NativeProxy

I just delete my nodemodules and packages.json.lock file

after reintsalling the packages I'm facing these error's

@andreasheick-isobar
Copy link

Same issue as @Haris-teach, came after upgrading React Native to 0.70.4 from 0.66.4

@daba-faith
Copy link

Hello, same issue here

@chj-damon
Copy link
Contributor

same issue as @Haris-teach

@badaz
Copy link

badaz commented Mar 8, 2023

@jmysliv I'm facing this issue Error: Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: library "libreanimated.so" not found

and as well this one Error: Exception in HostFunction: java.lang.NoClassDefFoundError: com.swmansion.reanimated.NativeProxy

I just delete my nodemodules and packages.json.lock file

after reintsalling the packages I'm facing these error's

Downgrading to 2.14.4 fixed the problem for me

@marcorios26
Copy link

@badaz what package exactly downgrading do you mean?

@badaz
Copy link

badaz commented Mar 23, 2023

@badaz what package exactly downgrading do you mean?

react-native-reanimated

@mianaamirshehzad
Copy link

@badaz what package exactly downgrading do you mean?

react-native-reanimated

This doesn't help at all. Instead, my running app starts misbehaving after installing the above-mentioned version of React Native Reanimated.
Is there any other way to solve this?

@badaz
Copy link

badaz commented Jun 20, 2023

@badaz what package exactly downgrading do you mean?

react-native-reanimated

This doesn't help at all. Instead, my running app starts misbehaving after installing the above-mentioned version of React Native Reanimated.
Is there any other way to solve this?

Well it worked for me 3 months ago ;) I don't really have every detail in mind anymore but maybe one of your app's dependencies rely on a newer version of reanimated?

@DaviBFarias
Copy link

@jmysliv I'm facing this issue Error: Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: library "libreanimated.so" not found
and as well this one Error: Exception in HostFunction: java.lang.NoClassDefFoundError: com.swmansion.reanimated.NativeProxy
I just delete my nodemodules and packages.json.lock file
after reintsalling the packages I'm facing these error's

Downgrading to 2.14.4 fixed the problem for me

I was using react-native-reanimated: "^2.13.0" e changing to "^2.14.4" solve to me too. Thanks!

@rishabsah13
Copy link

rishabsah13 commented Nov 5, 2023

@jmysliv same error ..any resolution how to fix this ?
Error: Exception in HostFunction: java.lang.NoClassDefFoundError: com.swmansion.reanimated.NativeProxy, js engine: hermes

@rishabsah13
Copy link

@iamharisdev
same error ..any resolution how to fix this ?
Error: Exception in HostFunction: java.lang.NoClassDefFoundError: com.swmansion.reanimated.NativeProxy, js engine: hermes

@yshakouri
Copy link

I have the same issue on 2.17.0. I am develope in MAC M1 (aarm64).
Is there any way to solve this?

@yshakouri
Copy link

https://github.com/yshakouri/test4

I have the same issue on 2.17.0. I am develope in MAC M1 (aarm64). Is there any way to solve this?

@yshakouri
Copy link

https://github.com/yshakouri/test4

I have the same issue on 2.17.0. I am develope in MAC M1 (aarm64). Is there any way to solve this?

ERROR Error: Exception in HostFunction: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.test4-DScGYKrnlKxI6feEiy7bfw==/base.apk"],nativeLibraryDirectories=[/data/app/com.test4-DScGYKrnlKxI6feEiy7bfw==/lib/arm64, /data/app/com.test4-DScGYKrnlKxI6feEiy7bfw==/base.apk!/lib/arm64-v8a, /system/lib64, /hw_product/lib64, /system/product/lib64]]] couldn't find "libreanimated.so", js engine: hermes

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

No branches or pull requests