Cordova build android is error


#1

Please help me
I cant build my app to android
cordova alway error and I can not find the cause

cordova build android
(node:8944) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Unhandled “error” event. (Parsing D:\demo\platforms\android\res\xml\config.xml failed)
(node:8944) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.


#2

Removing android and adding an earlier version seems to work for me


#3

Have you already check your own code for unhandled promise rejection like described in the warn/error msg? Found none of them?