1
votes

I've exported my project as Gradle in Eclipse, but when I import it in Android Studio it throws the following error:

Error:Gradle version 1.10 is required. Current version is 2.2.1. If using the gradle wrapper, try editing the distributionUrl in myProject\gradle\wrapper\gradle-wrapper.properties to gradle-1.10-all.zip.

Please fix the project's Gradle settings. Fix Gradle wrapper and re-import project

3
That doesn't seems to make sense :/ ,Have you got the latest version of android studio? - edwinj

3 Answers

3
votes

click on your build.gradle file in project explorer and make changes as

dependencies {
        classpath 'com.android.tools.build:gradle:1.10
}

ReBuild your project! Hope this helps.

2
votes

Well, after did some research i solved my problem, just clean and Rebuild!!!!

0
votes

when you import that time select appropriate download gradle version

or

you can give path of gradle in your machine.

Please check this out might this is help you. configuring-gradle

For Import project from eclipse to Android Studio check this out. Migrating to Android Studio

I hope this is help you.