jeudi 3 avril 2014

Packaging an application for Android using Sencha Touch Native Packaging.

I'm trying to create an app using sencha app build native command, but is not generating the file. Apk. When executing the command, the console shows no errors.



It's been days that I'm trying to solve this problem without success, I ask all possible help because my time for delivery of the project is running out.





Version of Sencha CMD: v4.0.3.74

Framework version: 2.3.1

Windows 7

java version "1.7.0_51"

Java(TM) SE Runtime Environment (build 1.7.0_51-b13)



Results in "build" folder after run this command:



/build

/native

/SalesForceAnd

/resources

app.js

app.json

index.html

/native-package-mobile

\SalesForceAnd

\packager.json

SalesForce.apk (with zero size)









Console messages after running the command:



D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SalesForceAnd>sench

a app build native

Sencha Cmd v4.0.3.74

[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 C:\Users\Ewerton\bin\Sencha\Cmd\4.0.3.74

for D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\SalesForceAnd\

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...

[INF] Loading classpath entry D:\Program Files\Apache Software Foundation\Apache

2.2\htdocs\SalesForceAnd\touch\src

[INF] Loading classpath entry D:\Program Files\Apache Software Foundation\Apache

2.2\htdocs\SalesForceAnd\app.js

[INF] Loading classpath entry D:\Program Files\Apache Software Foundation\Apache

2.2\htdocs\SalesForceAnd\app

[INF] Loading classpath entry D:\Program Files\Apache Software Foundation\Apache

2.2\htdocs\SalesForceAnd\build\temp\native\SalesForceAnd\sencha-compiler\app

[WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 obj

ect initializer => ]) -- D:\Program Files\Apache Software Foundation\Apa

che2.2\htdocs\SalesForceAnd\app\model\ProdImages.js:17:9

[INF] Loading classpath entry D:\Program Files\Apache Software Foundation\Apache

2.2\htdocs\SalesForceAnd\build\temp\native\SalesForceAnd\sencha-compiler\app

[INF] Concatenating output to file D:\Program Files\Apache Software Foundation\A

pache2.2\htdocs\SalesForceAnd/build/temp/native/SalesForceAnd/sencha-compiler/cm

d-packages.js

[INF] Adding external reference : @full-page => @overrides

[INF] Loading classpath entry D:\Program Files\Apache Software Foundation\Apache

2.2\htdocs\SalesForceAnd\build\temp\native\SalesForceAnd\sencha-compiler\cmd-pac

kages.js

[INF] Adding external reference : Ext.util.Observable => D:\Program Files\Apache

Software Foundation\Apache2.2\htdocs\SalesForceAnd/build/temp/native/SalesForce

And/sencha-compiler/cmd-packages.js

[INF]

[INF] -refresh-app:

[INF] Appending concatenated output to file D:\Program Files\Apache Software Fou

ndation\Apache2.2\htdocs\SalesForceAnd/bootstrap.js

[INF] Appending concatenated output to file D:\Program Files\Apache Software Fou

ndation\Apache2.2\htdocs\SalesForceAnd/bootstrap.js

[INF] Appending concatenated output to file D:\Program Files\Apache Software Fou

ndation\Apache2.2\htdocs\SalesForceAnd/bootstrap.js

[INF] Appending concatenated output to file D:\Program Files\Apache Software Fou

ndation\Apache2.2\htdocs\SalesForceAnd/bootstrap.js

[INF] Appending concatenated output to file D:\Program Files\Apache Software Fou

ndation\Apache2.2\htdocs\SalesForceAnd/bootstrap.js

[INF] Appending content to D:\Program Files\Apache Software Foundation\Apache2.2

\htdocs\SalesForceAnd/bootstrap.json

[INF]

[INF] -refresh:

[INF]

[INF] -after-refresh:

[INF]

[INF] resolve:

[INF]

[INF] js:

[INF]

[INF] -before-js:

[INF]

[INF] -init:

[INF]

[INF] -init-compiler:

[INF]

[INF] -detect-app-build-properties:

[INF]

[INF] -compile-js:

[INF] Compressing data with YuiJavascriptCompressor

[INF] Concatenating output to file D:\Program Files\Apache Software Foundation\A

pache2.2\htdocs\SalesForceAnd/build/native/SalesForceAnd/app.js

[INF]

[INF] -js:

[INF]

[INF] -after-js:

[INF]

[INF] resources:

[INF]

[INF] -before-resources:

[INF]

[INF] -before-inherit-resources:

[INF]

[INF] -before-copy-resources:

[INF]

[INF] -init:

[INF]

[INF] -init-compiler:

[INF]

[INF] -resources:

[INF] merging resources into D:\Program Files\Apache Software Foundation\Apache2

.2\htdocs\SalesForceAnd\build\native\SalesForceAnd\resources

[INF] merged 0 resources into D:\Program Files\Apache Software Foundation\Apache

2.2\htdocs\SalesForceAnd\build\native\SalesForceAnd\resources

[INF] merging resources into D:\Program Files\Apache Software Foundation\Apache2

.2\htdocs\SalesForceAnd\build\native\SalesForceAnd

[INF] merged 0 resources into D:\Program Files\Apache Software Foundation\Apache

2.2\htdocs\SalesForceAnd\build\native\SalesForceAnd

[INF]

[INF] -after-copy-resources:

[INF]

[INF] -after-inherit-resources:

[INF]

[INF] -after-resources:

[INF]

[INF] sass:

[INF]

[INF] -before-sass:

[INF]

[INF] -compass-compile-theme-package:

[INF]

[INF] -compass-compile-theme-folders:

[INF]

[INF] -compass-compile-sass-dir:

[INF] executing compass using system installed ruby runtime

identical ../css/app.css

[INF]

[INF] -compass-compile:

[INF]

[INF] -sass:

[INF]

[INF] -after-sass:

[INF]

[INF] slice:

[INF]

[INF] -before-slice:

[INF]

[INF] -slice-images:

[INF]

[INF] -slice:

[INF]

[INF] -after-slice:

[INF]

[INF] page:

[INF]

[INF] -before-page:

[INF]

[INF] -init:

[INF]

[INF] -init-compiler:

[INF]

[INF] -copy-app-resources:

[INF] Copying page resources to D:\Program Files\Apache Software Foundation\Apac

he2.2\htdocs\SalesForceAnd\build\native\SalesForceAnd

[INF] copying D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Sales

ForceAnd\resources\css\app.css to D:\Program Files\Apache Software Foundation\Ap

ache2.2\htdocs\SalesForceAnd\build\native\SalesForceAnd\resources\css\app.css

[INF]

[INF] -generate-deltas:

[INF]

[INF] -detect-app-build-properties:

[INF]

[INF] -build-standalone-json-manifest:

[INF] Writing content to D:\Program Files\Apache Software Foundation\Apache2.2\h

tdocs\SalesForceAnd/build/native/SalesForceAnd/app.json

[INF]

[INF] -build-output-page:

[INF]

[INF] -build-output-microload-page:

[INF] Writing content to D:\Program Files\Apache Software Foundation\Apache2.2\h

tdocs\SalesForceAnd/build/native/SalesForceAnd/microloader.js

[INF] Appending content to D:\Program Files\Apache Software Foundation\Apache2.2

\htdocs\SalesForceAnd/build/native/SalesForceAnd/microloader.js

[INF] Building output markup to D:\Program Files\Apache Software Foundation\Apac

he2.2\htdocs\SalesForceAnd/build/native/SalesForceAnd/index.html

[INF] [delete] Deleting: D:\Program Files\Apache Software Foundation\Apache2.

2\htdocs\SalesForceAnd\build\native\SalesForceAnd\microloader.js

[INF]

[INF] -generate-cache-manifest:

[INF]

[INF] -page:

[INF]

[INF] -after-page:

[INF]

[INF] native-package:

[INF]

[INF] -before-native-package:

[INF]

[INF] -native-package-mobile:

[INF] [echo] Building all specified mobile packager configs.

[INF] [echo]

[INF] [echo] Processing Mobile Packager config file

[INF] [echo] config: D:\Program Files\Apache Software Foundation\Ap

ache2.2\htdocs\SalesForceAnd/packager.json

[INF] [echo] inputPath: D:\Program Files\Apache Software Foundation

\Apache2.2\htdocs\SalesForceAnd/build/native/SalesForceAnd

[INF] [echo] outputPath: D:\Program Files\Apache Software Foundatio

n\Apache2.2\htdocs\SalesForceAnd/build/native-package-mobile/SalesForceAnd/packa

ger.json

[INF] [echo] Running mobile packager action build on file D:\Program Files\

Apache Software Foundation\Apache2.2\htdocs\SalesForceAnd/packager.temp.json

[INF]

[INF] -native-package:

[INF]

[INF] -after-native-package:

[INF]

[INF] -build:

[INF]

[INF] -after-build:

[INF]

[INF] build:

[INF]

[INF] app-build:




Aucun commentaire:

Enregistrer un commentaire