admin 发表于 2015-9-6 20:54 D:\android\Projects\hello>cordova -d platform add android No version supplied. Retrieving version from config.xml... Adding android project... Running command: cmd "/s /c "C:\Users\Administrator\.cordova\lib\npm_cache\cordo va-android\4.1.1\package\bin\create.bat --cli D:\android\Projects\hello\platform s\android com.zknw.hello HelloWorld"" Command finished with error code ENOENT: cmd /s /c "C:\Users\Administrator\.cord ova\lib\npm_cache\cordova-android\4.1.1\package\bin\create.bat --cli D:\android\ Projects\hello\platforms\android com.zknw.hello HelloWorld" Error: cmd: Command failed with exit code ENOENT at ChildProcess.whenDone (C:\Users\Administrator\AppData\Roaming\npm\node_mo dules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23) at ChildProcess.EventEmitter.emit (events.js:95:17) at Process.ChildProcess._handle.onexit (child_process.js:795:12) |
先运行cordova paltform add android 或者 phonegap paltform add android |
Archiver|手机版|小黑屋| PhoneGap中文网 ( 京ICP备13027796号-1 )
GMT+8, 2025-1-6 20:44 , Processed in 0.062985 second(s), 35 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.