0

I am developing an app using Ionic 1, AngularJS and Cordova. When trying to run its Adroid version on macOS, I keep getting Gradle errors. I tried many solutions like these:

I also uninstalled everything related to Android Studio, including projects and reinstalled, but it had no effect. Any help would be appreciated.

I am running:

  • macOS Sierra 10.12.5
  • Ionic 2.2.2 (my project is on Ionic 1)
  • Cordova 6.5.0
  • java 1.8.0_121
  • Latest Android Studio

Terminal, currently, for ionic run android shows: A problem occurred evaluating root project 'android'.

Failed to apply plugin [id 'com.android.application']
   > Minimum supported Gradle version is 3.3. Current version is 2.14.1. If using the gradle wrapper, try editing the distributionUrl in /Users/thismac/myapp/gradle/wrapper/gradle-wrapper.properties to gradle-3.3-all.zip

Before trying those solutions, it the message was that it could not find the Gradle Wrapper.

I also have installed Gradle, but my project uses the version installed by Android Studio.

Thanks in Advance!

Andrii Abramov
  • 10,019
  • 9
  • 74
  • 96
DSchlingel
  • 15
  • 7

0 Answers0