我以sencha touch開始,我嘗試使用Sencha Touch(Cmd 4.0.1.45)和Touch 2.3.1和Cordova 3.2.0-0.4.0來準備環境。我在一些文章中看到,在MAC中,我們不需要安裝SDK,只是Cmd。sencha應用程序構建 - 運行本機錯誤
我做了很多很多的事情,配置Java,Android的,路徑,紅寶石,螞蟻,指南針,的PhoneGap,科爾多瓦等
這是一個與命令對應的所有權利: 煎茶生成應用程序,並煎茶科爾多瓦init或萬一phonechat sencha phonegap初始化。有用。
大問題是當我嘗試做sencha應用程序構建 - 運行本地。這樣的作品,但我有後續消息:
[INF] -cordova-platform-add:
[INF] [script] Cordova: Missing platforms ios. Attempting add.
[INF] [shellscript] Checking iOS requirements...
[INF] [shellscript] Creating ios project...
[INF] [shellscript] [Error: An error occured during creation of ios sub-project.
[INF] [shellscript] cp: /Applications/MAMP/htdocs/appUm/cordova/platforms/ios/www/cordova.js: No such file or directory
[INF] [shellscript] ]
[ERR] The following error occurred while executing this line:
/Applications/MAMP/htdocs/appUm/.sencha/app/build-impl.xml:422: The following error occurred while executing this line:
/Applications/MAMP/htdocs/appUm/.sencha/app/cordova-impl.xml:170: The following error occurred while executing this line:
jar:file:/Users/zetoniazzo/Documents/Mobile/senchaCmd/Sencha/Cmd/4.0.1.45/sencha.jar!/com/sencha/ant/antlib.xml:608: shellscript returned: 1
環境: MAC OS 煎茶觸摸Cmd的4 觸摸2.3.1 科爾多瓦3.2 的Java 1.7 螞蟻1.9.2
相信的Java ,螞蟻,科爾多瓦,紅寶石,COmpass等,沒關係。最大的問題是應用程序構建。我有很多種錯誤,但是這個我不能解決!
問題是cordova和phonegap,試圖產生IOS和android。我很鄙視它!
另一件事,我採取cordova.js?
很難!而在Windows 8中工作到Android ....
感謝