[英]Cordova pruning error for android config.xml
When I run cordova build android
I get the following error: 当我运行
cordova build android
我收到以下错误:
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. 我曾多次尝试重新安装Android平台,但没有运气。
I am using Cordova 6.1.1, Android 5.1.1 and have updated Android Studio to the latest Dev tools and SDK. 我正在使用Cordova 6.1.1,Android 5.1.1并将Android Studio更新为最新的Dev工具和SDK。
Anyone else experienced this problem? 其他人遇到过这个问题? I can't find anything similar online.
我在网上找不到类似的东西。
If anyone else experiences this issue, I fixed it by: 如果其他人遇到此问题,我通过以下方式修复:
Build Android should run successfully. 构建Android应该成功运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.