CardStackView icon indicating copy to clipboard operation
CardStackView copied to clipboard

Build Error maybe cannot find repo

Open heechan12 opened this issue 3 years ago • 5 comments

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 avatar Jun 23 '22 07:06 heechan12

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

heechan12 avatar Jun 26 '22 23:06 heechan12

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

Really appreciate your solution...

blaticslm avatar Jun 27 '22 23:06 blaticslm

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 .

saurav12bisht avatar Jul 01 '22 06:07 saurav12bisht

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

blaticslm avatar Jul 03 '22 19:07 blaticslm