【发布时间】:2014-03-25 05:44:55
【问题描述】:
无法在 android 中运行 sencha/phonegap 应用程序.. 出现异常“cmd:命令失败,退出代码 ENOENT 3”这是我安装的版本..
D:\testapp>sencha -version
Sencha Cmd v4.0.1.45
[ERR] No such property : version
at com.sencha.cli.AbstractCommand$Properties.getProperty(AbstractCommand.ja
va:417)
at com.sencha.cli.AbstractCommand.parseConfigParam(AbstractCommand.java:441
)
at com.sencha.cli.AbstractCommand.processConfigParam(AbstractCommand.java:4
91)
at com.sencha.cli.AbstractCommand.configure(AbstractCommand.java:114)
at com.sencha.command.Sencha.main(Sencha.java:136)
D:\testapp>phonegap -version
3.4.0-0.19.7
D:\testapp>cordova -version
3.4.0-0.1.3
D:\testapp>ant -version
Apache Ant(TM) version 1.9.3 compiled on December 23 2013
D:\testapp>phonegap run android
[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] adding the Android platform...
[error] cmd: Command failed with exit code ENOENT
D:\testapp>phonegap build android
[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] adding the Android platform...
[error] cmd: Command failed with exit code ENOENT
Thanks in advance
【问题讨论】:
-
请在此链接中查看我的 (@Desmond) 答案stackoverflow.com/questions/22312332/…
标签: android cordova ant sencha-touch-2