I want to use react-native-video in my project. After installing this package I got this error every time (Only in android). I have added all the additional codes that are given in the documentation.
My react-native version is: 0.66.3
And react-native-video version is: 5.2.0
Is there any way to get rid of this error?
CodePudding user response:
jCenter does not allow to update package anymore, all other packages should be taken from mavenCentral.
You can add jcenter to android/build.gradle like this:
allprojects {
repositories {
.... # rest of your code
jcenter() {
content {
includeModule("com.yqritc", "android-scalablevideoview")
}
}
}
}
