Using this version of Cordova with older version of cordova-android is being deprecated. Consider upgrading to cordova-android@5.0.0 or newer.
运行命令:"C:\Program Files\nodejs\node.exe" C:\xampp\htdocs\aim\hooks\after_prepare\010_add_platform_class.js C:/xampp/htdocs/aim
add to body class: platform-android
Running command: cmd "/s /c "C:\xampp\htdocs\aim\platforms\android\cordova\run.bat"
Error: cmd: Command failed with exit code ENOENT
答案 0 :(得分:29)
运行cordova platform update android
。问题应该解决。