react-native-vlc-media-player
                                
                                 react-native-vlc-media-player copied to clipboard
                                
                                    react-native-vlc-media-player copied to clipboard
                            
                            
                            
                        "RCTVLCPlayer" was not found
Hello, I installed your library in my project and I keep getting this error: ERROR Invariant Violation: requireNativeComponent: "RCTVLCPlayer" was not found in the UIManager. do you know how to solve it? I'm using an android emulator
Thank you!
Please try downloading the sample repo first.
On Fri, 12 Feb 2021 at 2:39 AM, shironyaron [email protected] wrote:
Hello, I installed your library in my project and I keep getting this error: ERROR Invariant Violation: requireNativeComponent: "RCTVLCPlayer" was not found in the UIManager. do you know how to solve it? I'm using an android emulator
Thank you!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/razorRun/react-native-vlc-media-player/issues/55, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFB72EB4OTRJ6UGUQXXP3BTS6PMZDANCNFSM4XO3GSHQ .
I used to have the same issue and managed to get it working following these steps:
i added this to my android/app/build.gradle
` packagingOptions {
pickFirst 'lib/x86/libc++_shared.so'
pickFirst 'lib/arm64-v8a/libc++_shared.so'
pickFirst 'lib/x86_64/libc++_shared.so'
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
}`
also:
`defaultConfig { ...
multiDexEnabled true //Add this line
}`
and finally upgraded my minSDKVersion to 17 ( android/build.gradle):
`buildscript {
ext {
buildToolsVersion = "29.0.2"
minSdkVersion = 17
compileSdkVersion = 29
targetSdkVersion = 29
}
}`
After these modifications I didn't have any more issues with building and using the package.
Same issue on iOS :( Any fix?
I'm seeing this issue on tvOS too
Invariant Violation: requireNativeComponent: "RCTVLCPlayer" was not found in the UIManager.
Following, same issue (tvos)
Stack trace: Invariant Violation: requireNativeComponent: "RCTVLCPlayer" was not found in the UIManager.
This error is located at: in RCTVLCPlayer (at VLCPlayer.js:167) in VLCPlayer (at VLCPlayerView.js:151) in RCTView (at View.js:32).....<Truncated>
having the same issue ..any update?
Crated a PR to add TVOS support 😄 https://github.com/razorRun/react-native-vlc-media-player/pull/151
tvOS pr merged
Please try downloading the sample repo first. … On Fri, 12 Feb 2021 at 2:39 AM, shironyaron @.***> wrote: Hello, I installed your library in my project and I keep getting this error: ERROR Invariant Violation: requireNativeComponent: "RCTVLCPlayer" was not found in the UIManager. do you know how to solve it? I'm using an android emulator Thank you! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#55>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFB72EB4OTRJ6UGUQXXP3BTS6PMZDANCNFSM4XO3GSHQ .
sir i get a same error what to resolve this