Skip to content Skip to sidebar Skip to footer

Cordova Pruning Error For Android Config.xml

When I run cordova build android I get the following error: Error: Pruning at selector 'widget' from '/Library/WebServer/Documents/app/app-name/platforms/android/res/xml/config.xml

Solution 1:

If anyone else experiences this issue, I fixed it by:

  • Removing all platforms.
  • Removing all plugins
  • Update Cordova
  • Add all platforms
  • Add all plugins

Build Android should run successfully.

Post a Comment for "Cordova Pruning Error For Android Config.xml"