1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    5
    Vote Rating
    0
    druidajes is on a distinguished road

      0  

    Default Unanswered: Native Android Package and excessive size of the application (40 MB)

    Unanswered: Native Android Package and excessive size of the application (40 MB)


    Hello!
    I created an application with "sencha generate app... " and after I've packed.(not without many problems between).

    The thing is that the package occupies 40 megabytes and only has askeleton that generates "sencha generate"

    There any way top revent this from happening?

    thank you very much

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    82
    Answers
    2
    Vote Rating
    0
    ronaldoneal is on a distinguished road

      0  

    Default


    Make sure your output directory and input directory do not overlap. These are mine. Also build the production instance before you do the native build. Mine went from over 10 MB to less than 2 MB.

    "inputPath":"C:/wamp/www/campaignforchrist",
    "outputPath":"C:/wamp/www/build/campaignforchrist",

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    5
    Vote Rating
    0
    druidajes is on a distinguished road

      0  

    Default


    How to get packaged as release? To me the following error:

    "Certificate password is not specified, please check your config file for" certif
    icatePassword "key"

    thanks














  4. #4
    Sencha User
    Join Date
    Apr 2012
    Posts
    5
    Vote Rating
    0
    mseeber is on a distinguished road

      0  

    Default


    I had the same problem with the old SDK Tools.
    Try using the latest SDK tools and use the "sencha app build native" for native packaging, you will need to generate a new project with "sencha app create" tough. You may run into problems migrating with the sdk tools, so copy only your files in the app folder into your new project.

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Posts
    5
    Vote Rating
    0
    druidajes is on a distinguished road

      0  

    Default


    Thank you very muchfor answering,but I have aproblem

    Must take into account the filepackager.son?

    Aswould be the entire line of "sencha build native app" because when you run"build native app path_my_packager.son" I have thefollowing error

    [ERROR]ENOENT,no such fileor directory'C:\inetpub\wwwroot\sencha-touch\app.json

    I tried runningthe following command

    sencha build native app/path/to/deploy/myapp/ path/to/myapp/archive

    AndI getthe same error.

    Thank you very muchand best regards!

Thread Participants: 2

Tags for this Thread