question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:6
  • Comments:5

github_iconTop GitHub Comments

15reactions
MSay2commented, 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'])
}
0reactions
tabassumLatifcommented, Nov 8, 2016

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

dependencies { compile ‘com.fivehundredpx:blurringview:1.0.0’ }

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gradle failed to resolve library in Android Studio
You go File->Settings->Gradle Look at the "Offline work" inbox, if it's checked u uncheck and try to sync again I have the same...
Read more >
Can't resolve plugins from plugin repository after Gradle 4.3 ...
Expected Behavior When running my build, plugins declared in the plugins closure should be resolved from the Gradle Plugins Repository.
Read more >
Gradle 4.2.1 does not go to local repository for dependencies
Gradle is failing with “unable to resolve dependencies” error. Here is what I tried so far,. I have a local maven repository setup...
Read more >
Question - Android Studio - Failed to resolve the dependencies
By manually adding the "allprojects" section it gives me this error and won't let me sync ssnew.png. Here's my gradle code ssnew1.png
Read more >
Fix Android ERROR Failed to resolve com google Install ...
Comment • 1 · How to Solve Gradle sync problem in Android Studio - Migrate to AndroidX | Solved · install repository and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found