BUILD FAILED after installing react-native-video
See original GitHub issuehello im getting a bug when trying to install the package, im wondering what im doing wrong?
Working with react-native-cli, only installed the package without anything new
Bug
Task :app:mergeDebugAssets FAILED Execution failed for task ‘:app:mergeDebugAssets’. Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’. Could not find com.yqritc:android-scalablevideoview:1.0.4
Platform
Which player are you experiencing the problem on:
- iOS
- Android ExoPlayer
- Android MediaPlayer
- Windows UWP
- Windows WPF
- Windows
Environment info
React native info output:
// paste it here
Library version: x.x.x
Steps To Reproduce
…
Expected behaviour
Reproducible sample code
Video sample
If possible, include a link to the video that has the problem that can be streamed or downloaded from.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Can't run the project after installing react-native-video
After adding the react-native-video to the newly created project I get this error when I want to run the project (android), but once...
Read more >React Native Video by Example - All Issues Resolved - SiteReq
A step-by-step thorough guide that will use both React Native video and player ... If CocoaPods installation failed for any reason, then run...
Read more >react-native-video-player - npm
React Native Video Player npm. A React Native video player with a few controls. This player uses react-native-video for the video playback.
Read more >Integration with Existing Apps - React Native
React Native is great when you are starting a new mobile app from scratch. However, it also works well for adding a single...
Read more >React Native Skia build failed : r/reactnative - Reddit
My only problem was jcenter was down so It wasn't working. If jcenter is still down go to your node_modules folder find the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Assuming you are on a later version of React Native, In
android/build.gradleyou need to addjcenter(), in this case best to be explicit and only include what is necessary:OP hasn’t answered, but I had same issue and @jason-vault’s suggestion worked 10/10!