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

Project unable to build showing Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. #388

Open
eagleblack opened this issue Feb 14, 2023 · 4 comments

Comments

@eagleblack
Copy link

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

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not find com.yqritc:android-scalablevideoview:1.0.4.
Searched in the following locations:
- https://oss.sonatype.org/content/repositories/snapshots/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
- https://repo.maven.apache.org/maven2/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
- file:/C:/Users/NIKHIL/Desktop/New_App/client/node_modules/jsc-android/dist/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
- https://dl.google.com/dl/android/maven2/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
- https://www.jitpack.io/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
Required by:
project :app > project :react-native-video-processing

@peyman-hakemi
Copy link

peyman-hakemi commented Mar 4, 2023

try adding this in
android\build.gradle

            jcenter() {
    content {
    includeModule("com.yqritc", "android-scalablevideoview")
    }
    }

@thatsongkim
Copy link

I tried
jcenter() { content { includeModule("com.yqritc", "android-scalablevideoview") } }
but

  • What went wrong:
    Execution failed for task ':app:checkDebugDuplicateClasses'.
    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
    Duplicate class com.yqritc.scalablevideoview.BuildConfig found in modules jetified-Android-ScalableVideoView-10e7b4da8b-runtime (com.github.adityaxjha:Android-ScalableVideoView:10e7b4da8b) and jetified-android-scalablevideoview-1.0.4-runtime (com.yqritc:android-scalablevideoview:1.0.4)
    Duplicate class com.yqritc.scalablevideoview.PivotPoint found in modules jetified-Android-ScalableVideoView-10e7b4da8b-runtime (com.github.adityaxjha:Android-ScalableVideoView:10e7b4da8b) and jetified-android-scalablevideoview-1.0.4-runtime (com.yqritc:android-scalablevideoview:1.0.4)
    Duplicate class com.yqritc.scalablevideoview.ScalableType found in modules jetified-Android-ScalableVideoView-10e7b4da8b-runtime (com.github.adityaxjha:Android-ScalableVideoView:10e7b4da8b) and jetified-android-scalablevideoview-1.0.4-runtime (com.yqritc:android-scalablevideoview:1.0.4)
    Duplicate class com.yqritc.scalablevideoview.ScalableVideoView found in modules jetified-Android-ScalableVideoView-10e7b4da8b-runtime (com.github.adityaxjha:Android-ScalableVideoView:10e7b4da8b) and jetified-android-scalablevideoview-1.0.4-runtime (com.yqritc:android-scalablevideoview:1.0.4)
    Duplicate class com.yqritc.scalablevideoview.ScaleManager found in modules jetified-Android-ScalableVideoView-10e7b4da8b-runtime (com.github.adityaxjha:Android-ScalableVideoView:10e7b4da8b) and jetified-android-scalablevideoview-1.0.4-runtime (com.yqritc:android-scalablevideoview:1.0.4)
    Duplicate class com.yqritc.scalablevideoview.ScaleManager$1 found in modules jetified-Android-ScalableVideoView-10e7b4da8b-runtime (com.github.adityaxjha:Android-ScalableVideoView:10e7b4da8b) and jetified-android-scalablevideoview-1.0.4-runtime (com.yqritc:android-scalablevideoview:1.0.4)
    Duplicate class com.yqritc.scalablevideoview.Size found in modules jetified-Android-ScalableVideoView-10e7b4da8b-runtime (com.github.adityaxjha:Android-ScalableVideoView:10e7b4da8b) and jetified-android-scalablevideoview-1.0.4-runtime (com.yqritc:android-scalablevideoview:1.0.4)

@harleenarora
Copy link

Any solution?

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

5 participants
@harleenarora @eagleblack @peyman-hakemi @thatsongkim and others