-
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 find com.yqritc:android-scalablevideoview:1.0.4 #2454
Comments
I think this has to do with React Native's recent migration away from jcenter, which all React Native projects will start doing as well. The dependency itself seems to only be available on jcenter and it looks pretty old (https://github.com/yqritc/Android-ScalableVideoView). RNV will have to deal with this somehow. I wonder if it would be possible to drop this dependency completely. If not that, then fork it and make it available on maven central. |
For now, the workaround is probably to add back jcenter to your build.gradle. That's not a permanent solution as jcenter will not be available forever. |
I cannot get it to work by including jcenter. Any suggestions to make this run again? |
@Degn I think the only explanation for that is that you didn't add jcenter correctly, or there's some caching going on. |
I have the same issue. Even with jcenter the problem wasn't solved. |
I solved the problem just putting the jcenter() in "settings.gradle". |
jcenter() is deprecated and no longer be maintained in future release of react native. |
I have the same issue and hope that the library can make it available on maven central... Can't build at all now. |
same issue when I updated react-native: 0.65.1 |
this does not work for me, can I see your sampe code? |
this is the one that worked for me https://stackoverflow.com/a/68841906 |
Have you solved the issue ? I still got the same error in my project! Would you like to provide more information about how to solve this issue ?thanks |
You can add jcenter() |
Gold! |
Because jCenter is removed from latest react native and You can add jcenter to
Hopefully somebody updates android-scalablevideoview to use another repository |
Dear, I tried for the new version of react native (0.65.1) and it's working. But remembering that you must put the jcenter() inside: YourProject / android / build.grandle |
thanks a loooooooot, it solved my issue |
Currently on React Native version 0.64.2, and neither adding: jcenter() { |
This solves my problem,☺ |
Is there another workaround for this issue? All the solutions suggested above don't seem to work anymore.
|
That fix worked for me too, is there any plans to move |
@Brumor can you confirm your version of RN? |
@Hello-Zeze the code snippet that you posted there doesn't match the one posted above. The |
You can add jcenter to android/build.gradle like this:
|
@Shihaburabbi it's best to only pull specific packages from jcenter(), like this: #2454 (comment) |
I face the same issue and i used this solution that works for me |
jitpack.io has a mirror which includes this missing dependency. |
same issue for me |
It works for me as well. Thank You |
Summary: Various changes that apply to Android config files for the React Native upgrade. Note that there are three changes here from React Native 0.67: - Fixing typo in code comment in `native/android/app/build.gradle` - Fixing typo in code comment in `native/android/gradle.properties` - `excludeGroup "com.facebook.react"` for `mavenCentral` in `native/android/build.gradle` Also note that the changes to the NDK version here will necessitate that every developer installs the new NDK version here. Otherwise you will see this error when trying to run any Gradle build: ``` org.gradle.api.InvalidUserDataException: NDK not configured. Download it with SDK manager. Preferred NDK version is '21.4.7075529'. ``` Also note that I was unable to remove the `jcenter` dependency because of [this](TheWidlarzGroup/react-native-video#2454) `react-native-video` issue. Test Plan: Built and ran the whole stack on iOS and Android across various architectures Reviewers: palys-swm, atul Reviewed By: palys-swm Subscribers: benschac, Adrian, karol-bisztyga Differential Revision: https://phabricator.ashoat.com/D2985
Summary: I initially thought that upgrading would get rid of the `jcenter` dependency. That did not work, so I had to keep the `jcenter` dependency in (see earlier diff). The issue is tracked [here](TheWidlarzGroup/react-native-video#2454). Figured it wouldn't hurt to keep this diff, though. Test Plan: Built and ran the whole stack on iOS and Android across various architectures Reviewers: palys-swm, atul Reviewed By: palys-swm Subscribers: benschac, Adrian, karol-bisztyga Differential Revision: https://phabricator.ashoat.com/D2995
Anybody got any updates on this situation? |
Yes, Same Issue. Execution failed for task ':app:mergeDebugJavaResource'. Could not resolve all files for configuration ':app:debugRuntimeClasspath'. jcenter is deprecated. it's not a permanent solution. It's not available on maven. https://dl.google.com/dl/android/maven2/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom Please Update. |
There are already forks that fix that: yqritc/Android-ScalableVideoView#52 (comment) |
Anyone please help: |
Please answer why this is keep appearing i have spent more than 48 hours on it now i am getting this: Failed to resolve: com.yqritc:android-scalablevideoview:1.0.4 |
This is my build.gradle(app): apply plugin: 'com.android.application'
} dependencies { } |
and this is build.gradle: // Top-level build file where you can add configuration options common to all sub-projects/modules. allprojects { task clean(type: Delete) { |
This issue is linked to this PR: #2651 |
this works great!! |
jcenter isn't the solution, it will be removed anyways with the latest pr #2681 |
Any progress on this? |
I was able to use
|
Any updates on this? |
…calablevideoview:v1.0.4-jitpack.`) (#302) Found this workaround here: TheWidlarzGroup/react-native-video#2454 (comment) Seems to work: https://codemagic.io/app/629c82ea463af7ff553fc7a5/build/63343dafb31705033692a7fa This PR is extracted from #257
As anticipated, jCenter is finally down, lol |
JsCenter is down , android-scalablevideoview is not on mavenCentral, this package needs to update |
Yep jcenter seems to be finally down. |
Yeah I think that change is on |
Non, on V6 on exoplayer is supported. 5.2.1 such include similar change |
Applying that change in |
Bug
React native 0.65.0 build is failing on Android after installing react native video
Platform
Which player are you experiencing the problem on:
Environment info
Library version: 5.1.1
Steps To Reproduce
3.build the project
...
Expected behaviour
1.The build should successfully complete
2.The app should be installed in the simulator/device
3.react-native-video should work properly.
The text was updated successfully, but these errors were encountered: