camerakit-android: Error: Failed to resolve: com.flurgle:camerakit:0.9.17

Hi,

I’m facing an error to install your library via Gradle.

Here is my dependancies:

buildscript {
    repositories {
        mavenCentral()
        maven { url 'https://maven.fabric.io/public' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.3'
        classpath 'io.fabric.tools:gradle:1.+'
    }
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

repositories {
    maven { url 'https://maven.fabric.io/public' }
}

dependencies {
    compile('com.android.support:multidex:1.0.0')
    compile fileTree(dir: 'libs', include: '*.jar')
    compile 'com.android.support:appcompat-v7:19.1.0'
    compile 'com.google.android.gms:play-services-gcm:8.1.0'
    compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
        transitive = true;
    }
    compile 'com.google.android.gms:play-services-appindexing:8.1.0'
    compile 'com.flurgle:camerakit:0.9.17'
}

android {
    compileSdkVersion 17
    buildToolsVersion "23.0.2"

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt')
        }
    }

    dexOptions {
//        preDexLibraries = false
    }

    defaultConfig{
        // Enabling multidex support.
        multiDexEnabled true
    }

    sourceSets {
        main {
            manifest.srcFile 'AndroidManifest.xml'
            java.srcDirs = ['src']
            resources.srcDirs = ['src']
            aidl.srcDirs = ['src']
            renderscript.srcDirs = ['src']
            res.srcDirs = ['res']
            assets.srcDirs = ['assets']
        }

        // Move the tests to tests/java, tests/res, etc...
        instrumentTest.setRoot('tests')

        // Move the build types to build-types/<type>
        // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
        // This moves them out of them default location under src/<type>/... which would
        // conflict with src/ being used by the main source set.
        // Adding new build types or product flavors should be accompanied
        // by a similar customization.
        debug.setRoot('build-types/debug')
        release.setRoot('build-types/release')
    }

}

configurations {
    all*.exclude group: 'com.android.support', module: 'support-v4'
}

What is wrong?

Thanks

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 21 (7 by maintainers)

Most upvoted comments

The old flurgle group-name releases seem to have been taken of jcenter so they won’t resolve automatically.

Can you change

repositories {
    maven { url 'https://maven.fabric.io/public' }
}

to

repositories {
    maven { url 'https://maven.fabric.io/public' }
    maven { url 'https://dl.bintray.com/flurgle/maven' }
}

As per you said I have changed my lib to com.wonderkiln:camerakit:0.9.18 from com.flurgle:camerakit:0.9.18 But still there is error Failed to resolve: com.wonderkiln:camerakit:0.9.18

I don’t want to upgrade to latest version. I want to keep my project to 0.9.18 version but it is not able to sync

Please help

hi @himangipatel how you resolved this issue? I am getting the same issue now.