1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    39
    Vote Rating
    0
    nbester is on a distinguished road

      0  

    Default Unanswered: Packaging error in Windows XP

    Unanswered: Packaging error in Windows XP


    Hi,

    I'm a bit at my wit's end trying to figure out an error when packaging a native Android app and looking for ideas on where to look for a solution.

    Summary:
    Building my ST2.1 app with "sencha app build -e production" and "sencha app build -e native" runs without errors. When doing the "sencha package build packager.json" I get the below error which I am unable to move beyond:
    Code:
    C:\GrassCupCode\GolfCard>sencha package build packager.json
    Sencha Cmd v3.0.0.250
    [ERR]
    Created project directory: C:\GrassCupCode\build\Android2
    Created directory C:\GrassCupCode\build\Android2\src\com\grasscup\GolfCard
    Added file C:\GrassCupCode\build\Android2\src\com\grasscup\GolfCard\STActivity.java
    Created directory C:\GrassCupCode\build\Android2\res
    Created directory C:\GrassCupCode\build\Android2\bin
    Created directory C:\GrassCupCode\build\Android2\libs
    Created directory C:\GrassCupCode\build\Android2\res\values
    Added file C:\GrassCupCode\build\Android2\res\values\strings.xml
    Created directory C:\GrassCupCode\build\Android2\res\layout
    Added file C:\GrassCupCode\build\Android2\res\layout\main.xml
    Created directory C:\GrassCupCode\build\Android2\res\drawable-hdpi
    Created directory C:\GrassCupCode\build\Android2\res\drawable-mdpi
    Created directory C:\GrassCupCode\build\Android2\res\drawable-ldpi
    Added file C:\GrassCupCode\build\Android2\AndroidManifest.xml
    Added file C:\GrassCupCode\build\Android2\build.xml
    Added file C:\GrassCupCode\build\Android2\proguard-project.txt
    'C:\Documents' is not recognized as an internal or external command,
    operable program or batch file.
    ""C:/adt-bundle-windows-x86/sdk\tools\android" create project --target android-15 --name GolfCard --activity STActivity --path "../build/Android2\/" --package com.grasscup.GolfCard"
    Could not run ant with error: 1
    At first glance it looks like something wants to execute something in my "C:/Documents and Settings" path, but chokes on the space. I do not however have anything worthwhile in this path. I have both the Android SDK and Sencha command folders outside here and have no environment variables pointing here. Does anyone perhaps have a theory on what it might be or how to get more verbose output?

    Environment Info:
    Windows XP
    Sencha touch 2.1-commercial
    Sencha command version 3.0.0.250
    Android SDK tools rev 21

    My packager.json file
    Code:
    {  "applicationName":"GolfCard",
      "applicationId":"com.grasscup.GolfCard",
      "bundleSeedId":"KPXFEPZ6EF",
      "versionString":"0.1",
      "versionCode":"1",
      "icon": {
        "57":"resources/icons/icon_57.png",
        "72":"resources/icons/icon_72.png",
        "114":"resources/icons/icon@2x.png",
        "144":"resources/icons/icon~ipad@2x.png"
      },
      "inputPath":"../build/GolfCard/package",
      "outputPath":"../build/Android2",
      "configuration":"Debug",
      "platform":"Android",
      "deviceType":"Universal",
      "certificatePath":"../cert/debug.keystore",
      "certificateAlias":"selfsigned",
      "certificatePassword":"debugPass",
      "sdkPath":"C:/adt-bundle-windows-x86/sdk",
      "androidAPILevel":"15",
      "permissions":[
        "INTERNET",
        "ACCESS_NETWORK_STATE",
        "CAMERA",
        "VIBRATE",
        "ACCESS_FINE_LOCATION",
        "ACCESS_COARSE_LOCATION",
        "CALL_PHONE"],
      "orientations": [
        "portrait",
        "landscapeLeft",
        "landscapeRight",
        "portraitUpsideDown"
      ]
    }

  2. #2
    Sencha User omari_yousef's Avatar
    Join Date
    Jul 2010
    Posts
    105
    Vote Rating
    0
    omari_yousef is on a distinguished road

      0  

    Default packing error

    packing error


    Have you ever been able to find out why was that error coming up?
    I have the same behavior only with all building options!!!

Thread Participants: 1