Open Jenusdy opened 1 year ago
I had the same problem.
plugins {
id 'com.android.application'
}
android {
compileSdk 32
defaultConfig {
applicationId "com.container.fasturl"
applicationId "com.synnapps.example.carouselview"
minSdk 26
targetSdk 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildFeatures {
viewBinding true
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.7.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
implementation 'androidx.navigation:navigation-fragment:2.5.3'
implementation 'androidx.navigation:navigation-ui:2.5.3'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.synnapps:carouselview:0.1.5'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
any update?
@fachridantm @Jenusdy
To solve this add jcenter()
in your settings.gradle
file like this:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
jcenter( )
}
}
adding jcenter() is also not working now, any other way?
Hi @bhavika98 @jamalnay @fachridantm @ericcontainer @Jenusdy , how you guys doing?
I ported this library with updated dependencies and configurations, also moved out from JCenter do use Jitpack.io:
https://github.com/thiago-you/carouselview
Check it out!
I'm trying implement CaraouselView on Gradle 7.2 but got some error.
This is my gradle dependencies.
After sync i there is an error
I have follow this question on stackoverflow but not solved my problem