Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find com.github.NodeMedia:NodeMediaClient-Android:2.4.4. #15

Open
garik-galstyan opened this issue Aug 28, 2019 · 3 comments
Open

Comments

@garik-galstyan
Copy link

I'am created new project with react-native init , after I'm installed react-native-live-stream and linked it, and when I try to run I get this error

FULL Error

  • What went wrong:
    Could not determine the dependencies of task ':app:preDebugBuild'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not find com.github.NodeMedia:NodeMediaClient-Android:2.4.4.
Searched in the following locations:
- file:/home/garik/.m2/repository/com/github/NodeMedia/NodeMediaClient-Android/2.4.4/NodeMediaClient-Android-2.4.4.pom
- file:/home/garik/.m2/repository/com/github/NodeMedia/NodeMediaClient-Android/2.4.4/NodeMediaClient-Android-2.4.4.jar
- file:/home/garik/projects/reactNative/react-native-live-stream/aa/node_modules/react-native/android/com/github/NodeMedia/NodeMediaClient-Android/2.4.4/NodeMediaClient-Android-2.4.4.pom
- file:/home/garik/projects/reactNative/react-native-live-stream/aa/node_modules/react-native/android/com/github/NodeMedia/NodeMediaClient-Android/2.4.4/NodeMediaClient-Android-2.4.4.jar
- file:/home/garik/projects/reactNative/react-native-live-stream/aa/node_modules/jsc-android/dist/com/github/NodeMedia/NodeMediaClient-Android/2.4.4/NodeMediaClient-Android-2.4.4.pom
- file:/home/garik/projects/reactNative/react-native-live-stream/aa/node_modules/jsc-android/dist/com/github/NodeMedia/NodeMediaClient-Android/2.4.4/NodeMediaClient-Android-2.4.4.jar
- https://dl.google.com/dl/android/maven2/com/github/NodeMedia/NodeMediaClient-Android/2.4.4/NodeMediaClient-Android-2.4.4.pom
- https://dl.google.com/dl/android/maven2/com/github/NodeMedia/NodeMediaClient-Android/2.4.4/NodeMediaClient-Android-2.4.4.jar
- https://jcenter.bintray.com/com/github/NodeMedia/NodeMediaClient-Android/2.4.4/NodeMediaClient-Android-2.4.4.pom
- https://jcenter.bintray.com/com/github/NodeMedia/NodeMediaClient-Android/2.4.4/NodeMediaClient-Android-2.4.4.jar
Required by:
project :app > project :react-native-live-stream

@CheckChenY
Copy link

how solve this question ???

@wonday
Copy link
Owner

wonday commented Sep 6, 2019

android/build.gradle

allprojects {
repositories {
mavenLocal()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}

    // Add this section
    maven { 
        url 'https://jitpack.io' 
    }
}

}

@zoolyka
Copy link

zoolyka commented Sep 24, 2019

Note that since a few days you have to add 'https://www.jitpack.io' (www. subdomain) or the build will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants