Skip to content
Advertisement

Gradle: Could not resolve all dependencies for configuration ‘:classpath’

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.

Advertisement

Answer

Update last version android studio to 2.1.2 and change

classpath 'com.android.tools.build:gradle:2.1.2'
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement