2015-02-23 20 views
0

我正在嘗試使用sencha cmd「sencha應用程序生成本機」構建一個sencha touch 2.4應用程序,我得到了一個我無法解決的錯誤。與科爾多瓦建設Sencha觸摸應用程序 - [您可能沒有所需的環境或操作系統來構建此項目]錯誤

「您可能沒有所需的環境或操作系統來構建這個項目」

我的工作Win7上,使用煎茶觸摸2.4和煎茶CMD V5.1。我使用Android SDK Manager下載了Android SDK(API 19)。

這是命令輸出:

D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA>sencha app build native 
Sencha Cmd v5.1.1.39 
[INF] Processing Build Descriptor : native 
[INF] Loading app json manifest... 
[INF] Concatenating output to file D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA/build/temp/production/GeoMapTematicPA/sencha-compiler/cmd-packages.js 
[INF] writing content to D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\bootstrap.js 
[INF] appending content to D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\bootstrap.js 
[INF] appending content to D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\bootstrap.js 
[INF] appending content to D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\bootstrap.js 
[INF] Appending content to D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA/bootstrap.json 
[WRN] C1014: callParent has no target (me.callParent in Ext.dataview.DataView.onAfterRender) -- D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\touch\src\dataview 
\DataView.js:892 
[WRN] C1014: callParent has no target (this.callParent in Ext.Decorator.setDisabled) -- D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\touch\src\Decorator.js:157 

[WRN] C1014: callParent has no target (this.callParent in Ext.data.ArrayStore.loadData) -- D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\touch\src\data\ArrayStore.js:64 
[WRN] C1014: callParent has no target (this.callParent in Ext.fx.animation.Wipe.getData) -- D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\touch\src\fx\animation\Wipe.js:119:7 
[INF] merging 0 input resources into D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\cordova\www\resources 
[INF] merged 0 resources into D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\cordova\www\resources 
[INF] merging 87 input resources into D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\cordova\www 
[INF] merged 0 resources into D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\cordova\www 
[INF] executing compass using system installed ruby runtime 
identical ../css/app.css 
[INF] Copying page resources to D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\cordova\www 
[INF] Writing content to D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA/cordova/www/microloader.js 
[INF] Appending content to D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA/cordova/www/microloader.js 
[INF] Building output markup to D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA/cordova/www/index.html 
[INF] Writing content to D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA/cordova/www/index.html 
[INF] [Cordova] Attempting Cordova Build for platforms "android" 
[INF] [shellscript] 
[INF] [shellscript] D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\cordova>cordova build android 
[INF] [shellscript] Running command: D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\cordova\platforms\android\cordova\build.bat 
[INF] [shellscript] events.js:85 
[INF] [shellscript]  throw er; // Unhandled '''error''' event 
[INF] [shellscript]   ^
[INF] [shellscript] Error: spawn cmd ENOENT 
[INF] [shellscript]  at exports._errnoException (util.js:746:11) 
[INF] [shellscript]  at Process.ChildProcess._handle.onexit (child_process.js:1046:32) 
[INF] [shellscript]  at child_process.js:1137:20 
[INF] [shellscript]  at process._tickCallback (node.js:355:11) 
[INF] [shellscript] ERROR building one of the platforms: Error: D:\Sviluppo\varie\source\PROGETTI\GeoMapTematicPA\GeoMapTematicPA\cordova\platfrms\android\cordova\build.bat: Command failed with exit code 1 
[INF] [shellscript] You may not have the required environment or OS to build this project 

在此先感謝,任何幫助將非常感激。

+0

我不明白爲什麼我的問題被低估。 – LNyarla 2015-02-23 15:57:48

+0

你確定你的路徑與Android SDK相關嗎? – 2015-02-23 18:13:32

+0

我回答了我自己的問題,您可以在下面看到解決方案。問題與你所建議的路徑有關。 – LNyarla 2015-02-24 08:06:44

回答

相關問題