Skip to content Skip to sidebar Skip to footer

Android Gradle Build Error - Artifacts For Configuration ':classpath'

I'm getting the errors below, when running the command tns run android or tns debug android. Before it was working fine until I've deleted .gradle/gradle.properties folder from the

Solution 1:

I've fixed this issue by changing quite a few things in my app.gradle I have added mavenCentral() and changed the version number to 3.3.1 from 3.3.0 classpath 'com.android.tools.build:gradle:3.3.1'.

buildscript {
    repositories {
        mavenCentral()
        google()
        jcenter()
        maven {
            url 'https://dl.google.com/dl/android/maven2'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.3.1'
    }
}

Solution 2:


Post a Comment for "Android Gradle Build Error - Artifacts For Configuration ':classpath'"