Skip to content

Build Error maybe cannot find repo #360

Open

Description

@heechan12

When I tried to build, I got a error below.
"Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.yuyakaido.android:card-stack-view:2.3.4.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/yuyakaido/android/card-stack-view/2.3.4/card-stack-view-2.3.4.pom
- https://www.jitpack.io/com/yuyakaido/android/card-stack-view/2.3.4/card-stack-view-2.3.4.pom
- https://repo.maven.apache.org/maven2/com/yuyakaido/android/card-stack-view/2.3.4/card-stack-view-2.3.4.pom
Required by:
project :app
"

If I tried to check url (like https://www.jitpack.io ~~~) ,
I got "Repository not found: https://yuyakaido.com/android/card-stack-view"

Android Studio Version : Bumble bee build.gradle (Project) : ``` allprojects { repositories { google() maven{url 'https://www.jitpack.io'} mavenCentral() } } ``` settings.gradle : ``` buildscript { repositories { google() maven {url 'https://www.jitpack.io'} mavenCentral() }
dependencies {
    classpath 'com.google.gms:google-services:4.3.10'
}

}

Activity

  1. heechan12 commented on Jun 26, 2022

    @heechan12
    Author

    I solved this problem that I added "jcenter()" in gradle.

  2. blaticslm commented on Jun 27, 2022

    @blaticslm

    I solved this problem that I added "jcenter()" in gradle.

    Really appreciate your solution...

  3. saurav12bisht commented on Jul 1, 2022

    @saurav12bisht

    I solved this problem that I added "jcenter()" in gradle.

    yes fixed by this but jcenter() is depricated for sdk 32 do you have any other alternate .

  4. blaticslm commented on Jul 3, 2022

    @blaticslm

    I don't have any alternative. If this exists in maven central, we wouldn't need to add jcenter to access this.

  5. jainishrpandya commented on Sep 3, 2024

    @jainishrpandya

    Found the solution. add this line in gradle.properties. -> android.enableJetifier=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions