STILL getting a Build Error on Android. (iOS built just fine)
App ID: 638197
PhoneGap (iOS / Android / Windows)
cli-5.1.1 (3.8.0 / 4.0.2 / 3.8.1)
Not using PushPlugin
All plugins updated to source NPM
Note: This conversation was created from a reply on: Error build.
App ID: 638197
PhoneGap (iOS / Android / Windows)
cli-5.1.1 (3.8.0 / 4.0.2 / 3.8.1)
Not using PushPlugin
All plugins updated to source NPM
Note: This conversation was created from a reply on: Error build.
- 19 Posts
- 0 Reply Likes
Posted 5 years ago
- 1840 Posts
- 78 Reply Likes
The issue isn't really related to NPM plugins per se, it's that you need to update your Cordova plugins that can be used to access remote files to be compatible with the Whitelist plugin.
Update all your Cordova plugins to use the version specified in this post, or newer ones:
http://cordova.apache.org/announcements/2015/04/21/plugins-release-and-move-to-npm.html
-yiming
Update all your Cordova plugins to use the version specified in this post, or newer ones:
http://cordova.apache.org/announcements/2015/04/21/plugins-release-and-move-to-npm.html
-yiming
- 8261 Posts
- 263 Reply Likes
Hi Andrew
If you choose to change plugin's source to NPM, ensure it's availability over the new source then change plugin ID accordingly.
https://www.npmjs.com/search?q=cordov...
Thanks
If you choose to change plugin's source to NPM, ensure it's availability over the new source then change plugin ID accordingly.
https://www.npmjs.com/search?q=cordov...
Thanks
- 19 Posts
- 0 Reply Likes
When I specify a plugin version I get the plugin version error as above. When I don't specify the plugin version I just get the basic "Your build failed."


- 1840 Posts
- 78 Reply Likes
Many of the Cordova plugins versions specified in config.xml are incompatible with cli-5.1.1 for Android. Please update your Cordova plugins to the latest versions, or at the very least use the ones specified in the announcement link I mentioned in my previous reply.
Also note that the plugin names have changed somewhat in npm. For instance, org.apache.cordova.xxx plugins are now named as cordova-plugin-xxx in npm.
-yiming
Also note that the plugin names have changed somewhat in npm. For instance, org.apache.cordova.xxx plugins are now named as cordova-plugin-xxx in npm.
-yiming
(Edited)

