1

我正在按照 Vimeo 上的视频中的简单说明进行操作。我将我的应用程序从 Sencha Touch 2.2 升级到了 2.3。添加了 PhoneGap 支持。现在正在尝试构建本机应用程序。结果并不那么容易。我需要帮助:

macbook-air:admin Me$ sencha app build -run nativeSencha Cmd v4.0.1.45
[INF]
[INF] init-plugin:
[INF]
[INF] cmd-root-plugin.init-properties:
[INF]
[INF] init-properties:
[INF]
[INF] init-sencha-command:
[INF]
[INF] init:
[INF]
[INF] app-build-impl:
[INF]
[INF] -before-init-local:
[INF]
[INF] -init-local:
[INF]
[INF] -after-init-local:
[INF]
[INF] init-local:
[INF]
[INF] find-cmd-in-path:
[INF]
[INF] find-cmd-in-environment:
[INF]
[INF] find-cmd-in-shell:
[INF]
[INF] init-cmd:
[INF]      [echo] Using Sencha Cmd from /Users/Me/bin/Sencha/Cmd/4.0.1.45 for /Users/Me/App/public/Admin/build.xml
[INF]
[INF] -before-init:
[INF]
[INF] -init:
[INF] Initializing Sencha Cmd ant environment
[INF] Adding antlib taskdef for com/sencha/command/compass/ant/antlib.xml
[INF]
[INF] -after-init:
[INF]
[INF] -before-init-defaults:
[INF]
[INF] -init-defaults:
[INF]
[INF] -after-init-defaults:
[INF]
[INF] -init-compiler:
[INF]
[INF] init:
[INF]
[INF] -before-build:
[INF]
[INF] refresh:
[INF]
[INF] -before-refresh:
[INF]
[INF] -init:
[INF]
[INF] -init-compiler:
[INF]
[INF] -detect-app-build-properties:
[INF] Loading app json manifest...
[ERR]
[ERR] BUILD FAILED
[ERR] java.lang.NullPointerException
[ERR]
[ERR] Total time: 1 second
[ERR] The following error occurred while executing this line:
/Users/Me/App/public/Admin/.sencha/app/build-impl.xml:367: The following error occurred while executing this line:
/Users/Me/App/public/Admin/.sencha/app/js-impl.xml:11: java.lang.NullPointerException
macbook-air:admin Me$

我已经在Dropbox上上传了这两个文件。这里还有一个调试输出http://pastebin.com/T6ENe8xh请让我知道是否还需要其他任何东西来跟踪问题。我错过了什么吗?任何帮助,将不胜感激。

谢谢,

PS,当谈到这些东西时,我是一个完全的初学者。

4

1 回答 1

0

我有同样的错误并通过运行纠正它:

sudo xcodebuild -license
于 2013-11-28T13:53:10.813 回答