wonday / react-native-live-stream

a react-native module for live stream play and publish
MIT License
89 stars 21 forks source link

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

Open garik-galstyan opened 5 years ago

garik-galstyan commented 5 years ago

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

CheckChenY commented 5 years ago

how solve this question ???

wonday commented 5 years ago

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 commented 5 years ago

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