androidgradleandroid-gradle-pluginbuild.gradle

Error:Unknown host services.gradle.org. You may need to adjust the proxy settings in Gradle


i have tried it many times but its giving me same error.how to set the proxy so that this error is solved


Solution

  • Update your project level build.gradle to latest version - it works for me

    classpath 'com.android.tools.build:gradle:3.2.1'
    classpath 'com.google.gms:google-services:4.2.0'