"sencha app build native" Vs. "sencha package build"
I'm a little bit confused with these two options available in Sencha Cmd (126.96.36.199).
Just found that there are some changes in 3.0.1, particularly "sencha package" becomes "sencha app package" according to this thread:
But now the official recommended Cmd version is 188.8.131.52.
So - with 184.108.40.206, Touch 2.1.0 under Windows 7 and the Getting Started sample app (generated using "sencha generate app" command) - i decided to do an Android native build using either of the commands.
Both use the same packager.json config file and the results are:
when using: sencha app build native command:
An .apk file with size of 540 K
when using: sencha package build packager.json command:
An .apk file with size of 5534 K
This is 10 times difference in the size!
Why is that - and why the both options for native packaging exist?
Still no comments - is the question meaningless??
I am getting same results when i compiled custom build for native packaging with the following commands.
For native android packging with my application,
sencha app build native - 2.43 mb
sencha app package run packager.json - 10.3 mb.
I don't know why these variations on above commands!!
I have the same situation.
But what is even more confusing is that with "sencha app build native", the app is not working properly. (navigation view not working)
with "sencha package build packager.json" the app is fully working.
Using Sencha Cmd Tool
Any solution(clarification ) for this issue from sencha people
i think "sencha app build native" compress/minifiy the js and css files, also remove unwanted files.. while 'sencha app package ' just package the whole app..
Which Command for Native build
I am also thinking the same. But which command should we use for native packaging?
In the docs there is no explanation either
For native packaging we can use the following commands
sencha app build production
( will create files under ./build/myApp/production )
sencha app build native
( will create native files under ./build/native/myApp.app [for ios] )