I am trying to build my android app using Phonegap Build, but I am getting this error
Error - One of your plugins required the gradle android build tool to build
What am I missing here?
I am trying to build my android app using Phonegap Build, but I am getting this error
Error - One of your plugins required the gradle android build tool to build
What am I missing here?
Cordova/Phonegap switched to using Gradle instead of Ant for its build tool. Gradle allows plugins to dynamically request library dependencies rather than have to bundle them as JARs, so newer plugins tend to prefer Gradle as it plays better alongside other plugins.
AFAIK Ant is still the default for Phonegap Build (see here), but you can specify Gradle using the following preference:
<preference name="android-build-tool" value="gradle" />