yuyakaido / CardStackView

📱Tinder like swipeable card view for Android
Apache License 2.0
2.38k stars 456 forks source link

Build Error maybe cannot find repo #360

Open heechan12 opened 2 years ago

heechan12 commented 2 years ago

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:

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 commented 2 years ago

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

blaticslm commented 2 years ago

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

Really appreciate your solution...

saurav12bisht commented 2 years ago

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 commented 2 years ago

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

jainishrpandya commented 2 months ago

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