1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    6
    Vote Rating
    0
    adi.shoukat is on a distinguished road

      0  

    Default Unanswered: Cannot package a debug application (cannot create .apk)

    Unanswered: Cannot package a debug application (cannot create .apk)


    I am following this tutorial to create .apk file:
    http://docs.sencha.com/touch/2-0/#!/guide/native_android

    O
    n step#4 when I run the following command nothing happens:
    > sencha package run packager.json

    Absolutely nothing happens. There is no success/error message shown and I am ready to enter the next command.

    Here is my config file for debugging:

    Code:
    {
        "applicationName":"myApp",
        "applicationId":"com.techleadz.myApp",
        "iconName":"resources/icons/Icon~ipad_myApp.png",
        "versionString":"1.0",
        "outputPath":"build/",
        "inputPath":"build/native/",
        "configuration":"Debug",
        "platform":"AndroidEmulator",
        "deviceType":"Universal",
        "certificatePath":"C:/Users/Administrator/.android/debug.keystore",
        "certificateAlias":"androiddebugkey",
        "sdkPath":"C:/android-sdk-windows/",
        "orientations": [
            "portrait",
            "landscapeLeft",
            "landscapeRight",
            "portraitUpsideDown"
        ]
    }
    What I am doing wrong?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    34,121
    Vote Rating
    453
    Answers
    3160
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Moved to Sencha Touch 2 Q&A forum for you. (You posted in Ext JS 4 Q&A)
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    591
    Vote Rating
    34
    Answers
    35
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    Have you tried with the latest version here: http://www.sencha.com/forum/announcement.php?f=90&a=36

    Be aware, that you must download / install the SDK and the new CMD for the builds.