1. #1
    Sencha User
    Join Date
    Jul 2012
    Location
    Bangalore
    Posts
    113
    Vote Rating
    0
    kramprabhu is on a distinguished road

      0  

    Default sencha package command doing nothing

    sencha package command doing nothing


    Hi..

    I just created a sample myapp.. and wanted to deploy it in Android phone.

    When I issue following command.. it does'nt return anything.. no error no output.

    D:\sencha\myapp>sencha package run packager.json


    D:\sencha\myapp>

    Following is my config file

    {


    "applicationName":"MyApp",
    "applicationId":"com.sencha.myAppID",
    "versionString":"1.0",
    "iconName":"resources/icons/Icon~ipad.png",
    "inputPath":"app/",
    "outputPath":"build/",
    "configuration":"Debug",
    "platform":"AndroidEmulator",
    "deviceType":"Universal",
    "certificatePath":"D:/sencha/mvbs.keystore",
    "certificateAlias":"MyCertificate",
    "sdkPath":"C:/Program Files/Android/android-sdk",
    "androidAPILevel":"15",
    "orientations": [
    "portrait",
    "landscapeLeft",
    "landscapeRight",
    "portraitUpsideDown"
    ]
    }

    Please help me..
    -Ram

  2. #2
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    Get the latest version of ST and CMD and try again. Should be pretty easy then.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Location
    Bangalore
    Posts
    113
    Vote Rating
    0
    kramprabhu is on a distinguished road

      0  

    Default


    My sencha sdk is sencha-touch-2.0.1.1-commercial.
    And sdk tool is SenchaSDKTools-2.0.0-beta3-windows

    I think I am having the latest... not so??

    -Ram

  4. #4
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    Quote Originally Posted by kramprabhu View Post
    My sencha sdk is sencha-touch-2.0.1.1-commercial.
    And sdk tool is SenchaSDKTools-2.0.0-beta3-windows
    I think I am having the latest... not so??
    -Ram
    Not really! This is the latest: http://www.sencha.com/forum/announcement.php?f=91&a=36
    And this is the version I know (at least a bit) and which works not to bad! I currently also develop for Android (on a Galaxy Nexus). iOS is targeted a little later this year.

    You will also need a locally installed http server like wamp or xamp. Make sure this one is installed and working. This server will create a directory on your harddisk where the web stuff will be (html pages, javascript, etc.). For wamp this is wamp-directory\www and for xamp it is xamp-directory\htdocs. This is important for the installation of the SenchaTouch SDK and your apps later on.

    Then make sure to deinstall the old SDK Tools and then install the new SDK (2.1rc2) (into the web directory of your local server) and the new CMD (3.0.0.201).

    After that (if your local http server is running) you can launch the new docs (help) in the browser. Just type in http://localhost/sencha-touch-2.1.0-rc2 (if that is the name of your ST SDK folder). You should see the latest documentation. Go to the GUIDES which are on the 3. TAB and scroll down to the new Sencha CMD docs. For the beginning it is important that you read carefully the first TWO chapters. With that you should be able to create your first app and have it run locally in your browser.

    If not, post here what doesn't work and I will try to help you out.

  5. #5
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    There has been a new release of CMD last night. So get the CMD from here http://www.sencha.com/forum/showthre...ha-Cmd-V3-Beta
    but the SDK from the link I gave you in the previous post.

  6. #6
    Sencha User
    Join Date
    Jul 2012
    Location
    Bangalore
    Posts
    113
    Vote Rating
    0
    kramprabhu is on a distinguished road

      0  

    Default


    Hi
    I got new SDK and CMD installed. Even I upgraded the JRE to 7.

    I get some different error now.
    "Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\lib\tools.jar"
    I dont see such files exists in JRE
    D:\sencha\GS>dir C:\Program Files\Java\jre7\lib\tools.jar
    The system cannot find the path specified.

    How to get that tools.jar file.

    Thanks
    -Ram

  7. #7
    Sencha User
    Join Date
    Jul 2012
    Location
    Bangalore
    Posts
    113
    Vote Rating
    0
    kramprabhu is on a distinguished road

      0  

    Default


    I copied tools.jar from JDK to JRE lib folder. Its working now. App got loaded into my Android Virtual Device.
    How to make to deploy into my mobie?
    Thanks
    -Ram

  8. #8
    Sencha User
    Join Date
    Jul 2012
    Location
    Bangalore
    Posts
    113
    Vote Rating
    0
    kramprabhu is on a distinguished road

      0  

    Default


    Hmmm.. Got installed in my mobile device to (android) .. Just copied .apk file and used Apps Installer to install it.
    Thanks..

  9. #9
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    Quote Originally Posted by kramprabhu View Post
    Hmmm.. Got installed in my mobile device to (android) .. Just copied .apk file and used Apps Installer to install it.
    Thanks..
    So it's all working now? If so, please change the status of this post.

Thread Participants: 1

Tags for this Thread