react-native-vlc-media-player icon indicating copy to clipboard operation
react-native-vlc-media-player copied to clipboard

Expo Couldn't find DSO to load

Open Wolfleader101 opened this issue 1 year ago • 5 comments

Hello,

I am getting the following error when i try to create a custom expo development build with this project as a plugin.

Couldn't find DSO to load: libhermes.so caused by: dlopen failed: cannot locate symbol "__emults_get_address"

I am running expo 49.

Wolfleader101 avatar Feb 19 '24 08:02 Wolfleader101

~~#197 fixes this issue @razorRun However, npm needs to be updated to 1.0.68 as it isn't available on npm.~~

Disregard, the error still occurs even with this PR.

Wolfleader101 avatar Feb 21 '24 00:02 Wolfleader101

I am having the same issue. Everything was working fine and then out of nowhere Android would no longer build (getting the same error as you). So I tried creating a new blank repo and only adding this package and getting the same error. No clue on how it worked initially if even a new repo is broken on start...

Related to https://github.com/razorRun/react-native-vlc-media-player/issues/184

tomas-lejdung avatar Mar 06 '24 09:03 tomas-lejdung

I'm having the same error on Android. It works only on ios. I was trying to fix like here https://github.com/razorRun/react-native-vlc-media-player/issues/184#issuecomment-1980408112 But it doesn't work. Any solution ?

igorbacz avatar Mar 12 '24 11:03 igorbacz

I am having the same issue as well Why it is so difficult to use such a simple library?

amjadmak avatar Apr 12 '24 16:04 amjadmak

For anyone who is still struggling with this issue:

  1. Just remove all react-native-vlc-media-player stuff inside the app.json plugins section.
  2. Run npx expo prebuild --clean.
  3. Run ./android/gradlew --stop and then clean the Gradle caches with rm -rf ~/.gradle/caches/.
  4. Run npx expo run:android.

This should resolve the issue.

Note: I'm using RN 0.74 and works fine on both iOS and Android, not sure if this still works with any other RN version.

h3l1o5 avatar May 31 '24 19:05 h3l1o5