0

新しい Sencha Touch アプリケーションの生成に問題があります。Sencha SDK、Ruby、Sencha CMD をダウンロードしました。senchasencha版を使うとヘルプが出力されます。

ff コマンドを使用して Sencha Touch アプリケーションを生成すると、Build Failed に遭遇しました:

sencha -sdk [sencha sdk の場所] generate app -name MyApp -path [プロジェクトの場所]

問題:

Sencha Cmd v5.0.1.231
[INF] Processing Build Descriptor : default
[INF] Loading app json manifest...
[ERR] Failed to resolve dependency Ext.app.Application for file MyApp.app.$Application
[ERR] 
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application
[ERR]   at org.apache.tools.ant.Project.e
[ERR] xecuteSortedTargets(Project.java:1399)
[ERR] 
[ERR] Total time: 1 second
[ERR] 
[ERR] BUILD FAILED
[ERR] (installation dir)\bin\Sencha\Cmd\5.0.1.231\plugin.xml:303: The following error occurred while executing this line:
[ERR] (installation dir)\bin\Sencha\Cmd\5.0.1.231\plugins\touch\2.3\plugin.xml:334: The following error occurred while executing this line:
[ERR] (installation dir)\workspace-sencha\.sencha\app\build-impl.xml:373: The following error occurred while executing this line:
[ERR] (installation dir)\workspace-sencha\.sencha\app\init-impl.xml:258: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application
[ERR]   at sun.reflect.GeneratedMethodAccesso
[ERR] r23.invoke(Unknown Source)
[ERR] 
[ERR] Total time: 5 seconds
[ERR] The following error occurred while executing this line:
(installation dir)\bin\Sencha\Cmd\5.0.1.231\plugins\touch\2.3\plugin.xml:334: The following error occurred while executing this line:
(installation dir)\workspace-sencha\.sencha\app\build-impl.xml:373: The following error occurred while executing this line:
(installation dir)\workspace-sencha\.sencha\app\init-impl.xml:258: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application

私はこれですでに3日ですが、何か見逃しているかどうかはわかりません。

前もって感謝します!

4

1 に答える 1

0

最初に詳細を表示するには、-d オプションを使用してみてください

sencha -d -sdk [sencha sdk location] generate app -name MyApp -path [project location]
于 2014-08-18T03:50:15.477 に答える