Description
i followed every step from documention but still i am getting this issue
Errors
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:app:checkDebugAarMetadata’.
Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Could not find com.google.android.exoplayer:exoplayer-core:2.12.3.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/google/android/exoplayer/exoplayer-core/2.12.3/exoplayer-core-2.12.3.pom
- https://dl.google.com/dl/android/maven2/com/google/android/exoplayer/exoplayer-core/2.12.3/exoplayer-core-2.12.3.pom
Required by:
project :app > project :mobilertc
Video SDK Code Snippets
settings.gradle->
include ‘:mobilertc’
include ‘:commonlib’
android/app/build.gradle
dependencies{
implementation fileTree(dir: "libs", include: ["*.jar"])
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+" // From node_modules
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
}
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
exclude group:'com.facebook.flipper'
exclude group:'com.squareup.okhttp3', module:'okhttp'
}
debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") {
exclude group:'com.facebook.flipper'
}
if (enableHermes) {
def hermesPath = "../../node_modules/hermes-engine/android/";
debugImplementation files(hermesPath + "hermes-debug.aar")
releaseImplementation files(hermesPath + "hermes-release.aar")
} else {
implementation jscFlavor
}
implementation 'androidx.security:security-crypto:1.1.0-alpha02'
implementation 'com.google.crypto.tink:tink-android:1.5.0'
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'androidx.security:security-crypto:1.1.0-alpha02'
implementation 'com.google.crypto.tink:tink-android:1.5.0'
implementation 'androidx.core:core-ktx:1.7.0-alpha01'
implementation project(':mobilertc')
implementation project(':commonlib')
}
Smartphone (please complete the following information):
- Android
Additional context
i installed @zoom1234/react-native-videosdk" from npm