callstack / react-native-opentok

React Native OpenTok
202 stars 79 forks source link

problem occurred configuring project ':app' #23

Closed jeggy closed 7 years ago

jeggy commented 7 years ago

I configured my project as it said in the README and when trying to run it I get this error:

$ react-native run-android
Scanning 561 folders for symlinks in /home/jeggy/Coding/videoChat/node_modules (3ms)
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...
File /home/jeggy/.android/repositories.cfg could not be loaded.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
   > A problem occurred configuring project ':react-native-opentok'.
      > Could not resolve all dependencies for configuration ':react-native-opentok:_debugPublishCopy'.
         > Could not find any matches for com.opentok.android:opentok-android-sdk:2.8.+ as no versions of com.opentok.android:opentok-android-sdk are available.
           Required by:
               videoChat:react-native-opentok:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 8.723 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
jeggy commented 7 years ago

Fixed with following LucasSouzaa pull request

njho commented 6 years ago

Can you reference that pull request please?

jeggy commented 6 years ago

https://github.com/callstack/react-native-opentok/pull/14 But it did get merged, so you are probably having some other problems?

njho commented 6 years ago

Yes! I actually posted #66 and closed an issue. Related to a temporary issue with their OpenTok SDK provider. Thanks Jeggy

jeggy commented 6 years ago

But I also ended up writing my own opentok wrapper instead of using this package as there were some extra stuff I wanted