PhoneGap中文网

标题: phonegap安装 [打印本页]

作者: AcresJoe    时间: 2016-1-27 13:58
标题: phonegap安装
F:\pg\my-app>phonegap run android
[phonegap] executing 'cordova platform add --save android'...
Adding android project...
Running command: cmd "/s /c "C:\Users\Zhqaizly\.cordova\lib\npm_cache\cordova-android\4.1.1\package\bin\create.bat F:\pg\my-app\platforms\android com.
phonegap.helloworld "Hello World" --cli""
Error: cmd: Command failed with exit code ENOENT
[phonegap] executing 'cordova run android'...
Error: No platforms added to this project. Please use `cordova platform add <platform>`.

F:\pg\my-app>cordova platform add android
Adding android project...
Running command: cmd "/s /c "C:\Users\Zhqaizly\.cordova\lib\npm_cache\cordova-android\4.1.1\package\bin\create.bat F:\pg\my-app\platforms\android com.
phonegap.helloworld "Hello World" --cli""
Error: cmd: Command failed with exit code ENOENT


作者: AcresJoe    时间: 2016-1-27 13:58
这个错误怎么解决啊
作者: qaq520    时间: 2016-1-27 16:05
你解决了么 我也遇到了这个问题  
作者: ionicwang    时间: 2016-1-28 12:19
1. phonegap 命令和 cordova 命令不要混着用

2.最好能截个图  只复制这么点东西也看不出什么错误




欢迎光临 PhoneGap中文网 (http://bbs.phonegap100.com/) Powered by Discuz! X3.2