3

I'm new in Cordova and Android. I work on MAC OS Mavericks

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

I rood a lot of stack post but nothing work.

I try to change the gradle-wrapper properties to https://services.gradle.org/distributions/gradle-1.1-all.zip but I get other errors.

Error:Unable to load class 'org.gradle.internal.reflect.Instantiator'.
Possible causes for this unexpected error include:<ul><li>Gradle's 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 required. Current version is 2.0

Any help would be appreciate.

Community
  • 1
  • 1
Benjamin Lucas
  • 370
  • 5
  • 20
  • 1
    cordova isn't compatible with the android studio 1.0 yet, but they are working on it – jcesarmobile Dec 11 '14 at 09:10
  • What can I do than? Is there an older version of Android studio or had I do something other? How can I fixed that ? Thanks. – Benjamin Lucas Dec 11 '14 at 09:51
  • 1
    just don't use android studio, you don't need it for cordova development, use the cordova CLI and any editor to edit your files – jcesarmobile Dec 11 '14 at 09:54
  • OK. Thanks but I'm really new and don't have any idea of where to start. Nothing on the doc for cordova. Do you know a tuto. If I use eclipse, what must I do ? Thanks for your help. – Benjamin Lucas Dec 11 '14 at 10:01
  • you can start here http://docs.phonegap.com/en/edge/guide_platforms_index.md.html or you can find some useful post here http://iphonedevlog.wordpress.com/ – jcesarmobile Dec 11 '14 at 10:52
  • "cordova isn't compatible with the android studio 1.0 yet, but they are working on it" - where did you find this information? – Dmitry Isakov Jan 20 '15 at 12:57

0 Answers0