1

I got the error when i importing existing project to android studio.below i attached a screenshots of error message.. enter image description here

We are using android studio version 1.2.2. and Our System is Windows 7 32 bit

Error:Gradle version 1.10 is required. Current version is 2.2.1. 

Please Guide to us.

Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841

1 Answers1

0

Check the version of gradle and gradle plugin used in your project.

In your build.gradle (this is the gradle plugin version) you can use:

buildscript {
    repositories {  
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.2.3'
    }
}

In gradle/wrapper/gradle-wrapper.properties (this is the gradle version)

distributionUrl=http\://services.gradle.org/distributions/gradle-2.4-all.zip

There is a relation between gradle-plugin and the gradle version, and they need to be compatible.

Check these links for a full version compatibility mapping table:

Community
  • 1
  • 1
Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841