-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 resolve all dependencies for configuration ':react-native-video:_debugPublishCopy' #1079
Comments
me too. |
Looks like this is related to inheriting the SDK versions from #999. It's causing it to look for the SDK 27 support libraries. Is it possible to attach the build.gradle from your app (app/build.gradle)? It is supposed to use the versions of the SDK and support libraries you already have, and I want to check if the issue is configuration dependent. I'll do my best to get this sorted out today. |
Ok, issue is that the inheritance didn't work the way I expect. You have to define the variables in a separate file rather than automatically figuring it out using the app/build.gradle. Looks like I will need to revert this PR. Checking to see if there is some way to get this to work real quick. |
I've gone ahead and reverted the change and released 2.3.1. Basically what's happened is that I merged a PR that uses SDK 27 to build react-native-video and if you don't have the version 27 SDK installed the build fails. I think upgrading to 27 is the right choice in the long run since Android is going to require people to be on SDK 26 or higher after October 2018. Facebook is already moving in this direction (facebook/react-native#18095). However, we can put this in a 3.0 release and document needing to install SDK 27 and how to stay on your existing SDK version if you're not happy with that. Sorry for the inconvenience everyone. |
put |
@blok-0 Thanks for pointing that out. I'll see about adding that to the docs. |
@cobarx Thanks! |
I followed all steps, but inevitably I'm still getting:
Any suggestions? [edit with solution]
And here's how it should look with separate maven declaration:
And now it works. |
thanks @mmsmsy your solution its fine for me |
Hi, I am trying like above but still getting this error:
Here is my android build.gradle code:
|
This issue is resurfacing now. |
@ziyoshams add below line to your
|
I replaced node_modules->react-native-video ->android_exoplayer->build.gradle line 32 with this line:
react-native 059.5 |
Current behavior
Describe what happens when you encounter this issue.
I installed the plugin and linked it too.
but when i run the command react-native run-android
i get this error
A problem occurred configuring project ':app'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 46.139 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/getting-started.html
Reproduction steps
A 1, 2, 3, etc. list of what's needed to see the issue happen.
Expected behavior
it should run without any problem
Platform
Which player are you experiencing the problem on:
Video sample
If possible, include a link to the video that has the problem that can be streamed or downloaded from.
The text was updated successfully, but these errors were encountered: