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

Failed to resolve: com.synnapps:carouselview:0.1.5 #131

Open
Jenusdy opened this issue Oct 16, 2022 · 6 comments
Open

Failed to resolve: com.synnapps:carouselview:0.1.5 #131

Jenusdy opened this issue Oct 16, 2022 · 6 comments

Comments

@Jenusdy
Copy link

Jenusdy commented Oct 16, 2022

I'm trying implement CaraouselView on Gradle 7.2 but got some error.

This is my gradle dependencies.
image

After sync i there is an error
image

I have follow this question on stackoverflow but not solved my problem

@ericcontainer
Copy link

ericcontainer commented Nov 2, 2022

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'

}

@fachridantm
Copy link

any update?

@jamalnay
Copy link

@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( )
}
}

@bhavika98
Copy link

bhavika98 commented Jun 23, 2023

adding jcenter() is also not working now, any other way?

@thiago-you
Copy link

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

  • Move from JCenter to Jitpack.io
  • Migrate do Androidx libraries
  • Drop jetifier support
  • Update dependencies and libraries
  • Update configurations
  • Kotlin compatibility

Check it out!

@puneetkansal04
Copy link

@ericcontainer @bhavika98 find any solution?

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

7 participants