Skip to content Skip to sidebar Skip to footer

Importing An Eclipse Project In Android Studio. Error With Gradle

What I have: Eclipse Juno Service Release 2 working on windows 7 x64. Android Studio updated to 0.2.8 ADT updated What I have done I have been developing with Eclipse for a long

Solution 1:

SOLVED

Finally, after the new upgrades the error has been solved. If you have this error try to update ADT to r22.2.1 and Android Studio to 0.2.9. Then, export again gradle from eclipse and try it to import it from AS.

Maybe you will have now an error with sdk dir importing the file. If so, add the variable ANDROID_HOME to windows variables with the route of your android sdk and after rebotting the computer try it again. Remember that with AS there's a new installation of ADT so you have to update also that one or change the path as shown here https://stackoverflow.com/a/18409923/1200914


Solution 2:

You have used Gradle 1.8, as your error mentions, you should use Gradle 1.6. Download it from here http://services.gradle.org/distributions-snapshots


Post a Comment for "Importing An Eclipse Project In Android Studio. Error With Gradle"