Cordova 4.1.2 Android studio 1.0 Gradle version error

I am new to Cordova and Android. I am working on Mac OS Mavericks

I install Android Studio (1.0) than create my project and import it into Android Studio. I am getting this error in the console: Gradle version 1.10 is required. The current version is 2.2.1 ...

I am using a lot of columns but nothing seems to work.

I am trying to change gradle -wrapper properties to https://services.gradle.org/distributions/gradle-1.1-all.zip, but I am getting other errors.

Error:Unable to load class 'org.gradle.internal.reflect.Instantiator'.
Possible causes for this unexpected error include:<ul><li>Gradle dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a></li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

      

I also read this post Gradle version 1.10 is not required. Current version 2.0

Any help would be appreciated.

+3


source to share





All Articles