@jonathant I figured it out on Mac!
Solution:
- In your project -> navigate to: platforms -> android -> build.gradle.
- Open build.gradle
- 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.
- 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.