razorRun / react-native-vlc-media-player

React native media player for video streaming and playing. Supports RTSP, RTMP and other protocols supported by VLC player
https://roshan.digital/
MIT License
354 stars 185 forks source link

Expo Couldn't find DSO to load #200

Closed Wolfleader101 closed 1 month ago

Wolfleader101 commented 8 months ago

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 commented 8 months ago

~~#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.

tomas-lejdung commented 8 months ago

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

igorbacz commented 8 months ago

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 ?

amjadmak commented 7 months ago

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

h3l1o5 commented 5 months ago

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.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 14 days since being marked as stale.