Windows 8命令上的错误(离子运行android)失败,退出代码为ENOENT

时间:2016-03-31 16:28:30

标签: cordova ionic-framework

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

1 个答案:

答案 0 :(得分:29)

运行cordova platform update android。问题应该解决。