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

Gradle: Failed to resolve: com.fivehundredpx:blurringview:1.0.0 #26

Open
Pranoy1c opened this issue May 31, 2016 · 5 comments
Open

Gradle: Failed to resolve: com.fivehundredpx:blurringview:1.0.0 #26

Pranoy1c opened this issue May 31, 2016 · 5 comments

Comments

@Pranoy1c
Copy link

I put:

dependencies {
    compile 'com.fivehundredpx:blurringview:1.0.0'
}

in the gradle file but it says "Failed to resolve: com.fivehundredpx:blurringview:1.0.0"

Am I doing something wrong?

@noerK
Copy link

noerK commented Jun 15, 2016

+1

1 similar comment
@AnisDerbel
Copy link

+1

@AnisDerbel
Copy link

I found it, you have to add this code in app/build.gradle

`android {
...
defaultConfig {
...
renderscriptTargetApi 20
renderscriptSupportModeEnabled true
}
}

repositories {
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
}

dependencies {
...
compile project(':react-native-blur')
}

buildscript {
repositories {
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
}
dependencies {
classpath 'com.fivehundredpx:blurringview:1.0.0'
}
}`

@MSay2
Copy link

MSay2 commented Jul 26, 2016

first build.gradle :

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.+'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
        maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
        url 'http://dl.bintray.com/amulyakhare/maven'
    }
}

second build.gradle :

apply plugin: 'com.android.application'

android {
    compileSdkVersion 21
    buildToolsVersion "21.1.0"

    defaultConfig {
        applicationId "com.exemple.myapp"
        minSdkVersion 19
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
        renderscriptTargetApi 23
        renderscriptSupportModeEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile 'com.fivehundredpx:blurringview:1.0.0'
    compile fileTree(dir: 'libs', include: ['*.jar'])
}

@tabassumLatif
Copy link

repositories {
maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' }
}

dependencies {
compile 'com.fivehundredpx:blurringview:1.0.0'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants