sencha cmd5 phonegap不会创建.apk文件

时间:2014-09-07 13:22:12

标签: android cordova touch

我正在使用Sencha Cmd v5.0.1.231和phonegap 3.5.0-0.21.14来制作样本集成的sencha touch-2.4.0和phonegap Android项目。 我这样做的第一步是:

sencha -sdk /var/www/touch-2.4.0 generate app mp mp

启动过程正常,触摸项目将正确启动。 这个故事将显示:

Sencha Cmd v5.0.1.231
[INF] Processing Build Descriptor : default
[INF] Loading app json manifest...
[INF] Concatenating output to file /home/funfullson/test/mp/build/temp/production/mp/sencha-compiler/cmd-packages.js
[INF] writing content to /home/funfullson/test/mp/bootstrap.js
[INF] appending content to /home/funfullson/test/mp/bootstrap.js
[INF] appending content to /home/funfullson/test/mp/bootstrap.js
[INF] appending content to /home/funfullson/test/mp/bootstrap.js
[INF] Appending content to /home/funfullson/test/mp/bootstrap.json
  1. 我进入了mp并运行了这个命令:

    sencha phonegap init com.test.mp mp

  2. 这一步是真的完成的。结果是:

    Sencha Cmd v5.0.1.231
    [INF] Creating App
    [INF] Adding native build to app.json
    [INF] Application has been initialized for native packaging. Please edit app.json and add platform(s) to build for.
    

    现在mp目录中没有文件名phonegap.local.properties。 当我尝试使用以下命令制作原生apk时:

    sencha app build native
    

    面对一些WARN,如下所述,最后没有创建apk文件:

    Sencha Cmd v5.0.1.231
    [INF] Processing Build Descriptor : native
    [INF] Loading app json manifest...
    [INF] Concatenating output to file /home/funfullson/test/mp/build/temp/production/mp/sencha-compiler/cmd-packages.js
    [INF] writing content to /home/funfullson/test/mp/bootstrap.js
    [INF] appending content to /home/funfullson/test/mp/bootstrap.js
    [INF] appending content to /home/funfullson/test/mp/bootstrap.js
    [INF] appending content to /home/funfullson/test/mp/bootstrap.js
    [INF] Appending content to /home/funfullson/test/mp/bootstrap.json
    [WRN] C1014: callParent has no target (this.callParent in Ext.Decorator.setDisabled) -- /home/funfullson/test/mp/touch/src/Decorator.js:158
    [WRN] C1014: callParent has no target (this.callParent in Ext.data.ArrayStore.loadData) -- /home/funfullson/test/mp/touch/src/data/ArrayStore.js:65
    [WRN] C1014: callParent has no target (me.callParent in Ext.dataview.DataView.onAfterRender) -- /home/funfullson/test/mp/touch/src/dataview/DataView.js:893
    [WRN] C1014: callParent has no target (this.callParent in Ext.fx.animation.Wipe.getData) -- /home/funfullson/test/mp/touch/src/fx/animation/Wipe.js:120:7
    [WRN] C1014: callParent has no target (this.callParent in Ext.slider.Toggle.setValue) -- /home/funfullson/test/mp/touch/src/slider/Toggle.js:64
    [INF] Concatenating output to file /home/funfullson/test/mp/phonegap/www/app.js
    [INF] merging resources into /home/funfullson/test/mp/phonegap/www/resources
    [INF] merged 0 resources into /home/funfullson/test/mp/phonegap/www/resources
    [INF] merging resources into /home/funfullson/test/mp/phonegap/www/resources
    [INF] merged 0 resources into /home/funfullson/test/mp/phonegap/www/resources
    [INF] executing compass using system installed ruby runtime
    identical ../css/app.css 
    [INF] Copying page resources to /home/funfullson/test/mp/phonegap/www
    [INF] Writing content to /home/funfullson/test/mp/phonegap/www/microloader.js
    [INF] Appending content to /home/funfullson/test/mp/phonegap/www/microloader.js
    [INF] Building output markup to /home/funfullson/test/mp/phonegap/www/index.html
    [INF] Writing content to /home/funfullson/test/mp/phonegap/www/index.html
    [INF] [Phonegap] Attempting PhoneGap local build for android
    

0 个答案:

没有答案