반응형

 

Android Studio Card Stack View

Android Studio 개발 시 아래 저장소의 yuyakaido CardStackView 를 import 하는데, dependencies 추가해도 안됐다

https://github.com/yuyakaido/CardStackView.git

 

GitHub - yuyakaido/CardStackView: 📱Tinder like swipeable card view for Android

📱Tinder like swipeable card view for Android. Contribute to yuyakaido/CardStackView development by creating an account on GitHub.

github.com

 

해결방법

settings.gradle 에 아래 문구 추가

//기존
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    }
}

//수정
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        jcenter() //추가
        maven{url 'https://jitpack.io'} //추가
        mavenCentral()
    }
}

 

728x90

+ Recent posts