Gradle: Could not resolve all dependencies for configuration ':classpath'

20,722

Update last version android studio to 2.1.2 and change

classpath 'com.android.tools.build:gradle:2.1.2'
Share:
20,722
Taslim Oseni
Author by

Taslim Oseni

I'm a software engineer with over 5 years of professional experience building awesome software. I contribute actively to a ton of online communities including Wikipedia, Quora, Genius and of course, Stackoverflow. 😄

Updated on July 09, 2022

Comments

  • Taslim Oseni
    Taslim Oseni almost 2 years

    I've been facing a problem with my android studio. Anytime I try to run an application, any application (even blank one), an error would occur. It's always in this form:

    NB: Flip is the name of the application...

    Error: Gradle: A problem occurred configuring root project 'Flip'. 
         - Could not resolve all dependencies for configuration ':classpath'. 
         - Could not resolve com.android.tools.build:gradle:1.1.0.
            Required by:
                       :Flip:unspecified
    

    I've searched for solutions for days to no avail and it has rendered my android studio almost useless.