Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229115

Building Android fails with build exception

$
0
0

@jonathant I figured it out on Mac!

Solution:

  1. In your project -> navigate to: platforms -> android -> build.gradle.
  2. Open build.gradle
  3. Edit build.gradle. The file in my project originally had the dependencies -> classpath as gradle:2.1.3 and the gradleWrapper's gradleVersion as 2.14.1. By following the link to Android Plugin for Gradle Version Compatibility mentioned in their comments, it was clear those were not the latest plugin versions.
  4. I updated the classpath to gradle:2.3.0 and the gradleVersion to 3.3 (as shown in the screenshot) and the build finally succeeded!

Hopefully this helps you, took me a day or two to figure out.


Viewing all articles
Browse latest Browse all 229115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>