简体   繁体   中英

BUILD FAILED in 2s [ERROR] An error occurred while running subprocess cordova.[cordova.cmd compile android exited with exit code 1]

Can I fix this problem?

构建失败,出现异常 ⠀⠀⠀⠀⠀⠀⠀⠀

You are missing android build tools,

android update sdk -u -a -t <package no.>

package no is the version of build tools you want to install, in your case it is 19.1.0 or higher.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM