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

Build Error maybe cannot find repo #360

Open
heechan12 opened this issue Jun 23, 2022 · 5 comments
Open

Build Error maybe cannot find repo #360

heechan12 opened this issue Jun 23, 2022 · 5 comments

Comments

@heechan12
Copy link

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'
}

}

@heechan12
Copy link
Author

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

@blaticslm
Copy link

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

Really appreciate your solution...

@saurav12bisht
Copy link

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 .

@blaticslm
Copy link

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

@jainishrpandya
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants