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" went bad.
I have tried reinstalling the Android platform several times, but no luck.
I am using Cordova 6.1.1, Android 5.1.1 and have updated Android Studio to the latest Dev tools and SDK.
Anyone else experienced this problem? I can't find anything similar online.