Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-2243 in a recent build.
  1. #21
    Sencha User
    Join Date
    Jan 2012
    Posts
    62
    Vote Rating
    5
    s.t.a.s is on a distinguished road

      0  

    Default


    Quote Originally Posted by grey_monk View Post
    You should place tools.jar in
    C:\Program Files\Java\jre7\lib\
    tools.jar
    Unfortunately, it helped partly. Now a bit different error log:

    Code:
    C:\Program Files\SenchaSDKTools-2.0.0-Beta\command>sencha package run configTemplate.json
    Created directory C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\src\com\sencha\TestSencha
    Added file C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\src\com\senc
    ha\TestSencha\STActivity.java
    Created directory C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\bin
    Created directory C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\libs
    Created directory C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\res\v
    alues
    Added file C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\res\values\s
    trings.xml
    Created directory C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\res\l
    ayout
    Added file C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\res\layout\m
    ain.xml
    Added file C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\AndroidManif
    est.xml
    Added file C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\build.xml
    Added file C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\proguard.cfg
    
    
    Buildfile: C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\build\build.xml
    
    
    -set-mode-check:
    
    
    -set-debug-files:
    
    
    -set-debug-mode:
    
    
    -debug-obfuscation-check:
    
    
    -setup:
         [echo] Gathering info for TestSencha...
        [setup] Android SDK Tools Revision 16
        [setup] Project Target: Android 4.0.3
        [setup] API level: 15
        [setup]
        [setup] ------------------
        [setup] Resolving library dependencies:
        [setup] No library dependencies.
        [setup]
        [setup] ------------------
        [setup]
        [setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (7) is lower
     than the project target API level (15)
    
    
    -build-setup:
         [echo] Creating output directories if needed...
        [mkdir] Created dir: C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\buil
    d\bin\res
        [mkdir] Created dir: C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\buil
    d\gen
        [mkdir] Created dir: C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\buil
    d\bin\classes
    
    
    -pre-build:
    
    
    -code-gen:
         [echo] ----------
         [echo] Handling aidl files...
         [aidl] No AIDL files to compile.
         [echo] ----------
         [echo] Handling RenderScript files...
    [renderscript] No RenderScript files to compile.
         [echo] ----------
         [echo] Handling Resources...
         [aapt] Generating resource IDs...
    
    
    -pre-compile:
    
    
    -compile:
        [javac] Compiling 2 source files to C:\Program Files\SenchaSDKTools-2.0.0-Be
    ta\command\build\bin\classes
    
    
    -post-compile:
    
    
    -obfuscate:
    
    
    -dex:
          [dex] Converting compiled files and external libraries into C:\Program Fil
    es\SenchaSDKTools-2.0.0-Beta\command\build\bin\classes.dex...
    
    
    -crunch:
       [crunch] libpng error: Read Error
       [crunch] libpng error: Read Error
       [crunch] libpng error: Read Error
       [crunch] Crunching PNG Files in source dir: C:\Program Files\SenchaSDKTools-2
    .0.0-Beta\command\build\res
       [crunch] To destination dir: C:\Program Files\SenchaSDKTools-2.0.0-Beta\comma
    nd\build\bin\res
       [crunch] Processing image to cache: C:\Program Files\SenchaSDKTools-2.0.0-Bet
    a\command\build\res\drawable-hdpi\ic_launcher.png => C:\Program Files\SenchaSDKT
    ools-2.0.0-Beta\command\build\bin\res\drawable-hdpi\ic_launcher.png
       [crunch]   (processed image to cache entry C:\Program Files\SenchaSDKTools-2.
    0.0-Beta\command\build\bin\res\drawable-hdpi\ic_launcher.png: 0% size of source)
    
    
       [crunch] Processing image to cache: C:\Program Files\SenchaSDKTools-2.0.0-Bet
    a\command\build\res\drawable-hdpi\icon.png => C:\Program Files\SenchaSDKTools-2.
    0.0-Beta\command\build\bin\res\drawable-hdpi\icon.png
       [crunch] Processing image to cache: C:\Program Files\SenchaSDKTools-2.0.0-Bet
    a\command\build\res\drawable-ldpi\ic_launcher.png => C:\Program Files\SenchaSDKT
    ools-2.0.0-Beta\command\build\bin\res\drawable-ldpi\ic_launcher.png
       [crunch]   (processed image to cache entry C:\Program Files\SenchaSDKTools-2.
    0.0-Beta\command\build\bin\res\drawable-ldpi\ic_launcher.png: 0% size of source)
    
    
       [crunch] Processing image to cache: C:\Program Files\SenchaSDKTools-2.0.0-Bet
    a\command\build\res\drawable-ldpi\icon.png => C:\Program Files\SenchaSDKTools-2.
    0.0-Beta\command\build\bin\res\drawable-ldpi\icon.png
       [crunch] Processing image to cache: C:\Program Files\SenchaSDKTools-2.0.0-Bet
    a\command\build\res\drawable-mdpi\ic_launcher.png => C:\Program Files\SenchaSDKT
    ools-2.0.0-Beta\command\build\bin\res\drawable-mdpi\ic_launcher.png
       [crunch]   (processed image to cache entry C:\Program Files\SenchaSDKTools-2.
    0.0-Beta\command\build\bin\res\drawable-mdpi\ic_launcher.png: 0% size of source)
    
    
       [crunch] Processing image to cache: C:\Program Files\SenchaSDKTools-2.0.0-Bet
    a\command\build\res\drawable-mdpi\icon.png => C:\Program Files\SenchaSDKTools-2.
    0.0-Beta\command\build\bin\res\drawable-mdpi\icon.png
       [crunch] Crunched 6 PNG files to update cache
    
    
    -package-resources:
         [aapt] Creating full resource package...
    
    
    -package:
    [apkbuilder] Current build type is different than previous build: forced apkbuil
    der run.
    [apkbuilder] Creating TestSencha-debug-unaligned.apk and signing it with a debug
     key...
    
    
    -do-debug:
     [zipalign] Running zip align on final apk...
         [echo] Debug Package: C:\Program Files\SenchaSDKTools-2.0.0-Beta\command\bu
    ild\bin\TestSencha-debug.apk
    
    
    debug:
    [propertyfile] Creating new property file: C:\Program Files\SenchaSDKTools-2.0.0
    -Beta\command\build\bin\build.prop
    [propertyfile] Updating property file: C:\Program Files\SenchaSDKTools-2.0.0-Bet
    a\command\build\bin\build.prop
    [propertyfile] Updating property file: C:\Program Files\SenchaSDKTools-2.0.0-Bet
    a\command\build\bin\build.prop
    [propertyfile] Updating property file: C:\Program Files\SenchaSDKTools-2.0.0-Bet
    a\command\build\bin\build.prop
    
    
    BUILD SUCCESSFUL
    Total time: 5 seconds
            pkg: /data/local/tmp/TestSencha.apk
    Success
    usage: am [subcommand] [options]
    usage: am start [-D] [-W] [-P <FILE>] [--start-profiler <FILE>]
                   [--R COUNT] [-S] <INTENT>
           am startservice <INTENT>
           am force-stop <PACKAGE>
           am kill <PACKAGE>
           am kill-all
           am broadcast <INTENT>
           am instrument [-r] [-e <NAME> <VALUE>] [-p <FILE>] [-w]
                   [--no-window-animation] <COMPONENT>
           am profile [looper] start <PROCESS> <FILE>
           am profile [looper] stop [<PROCESS>]
           am dumpheap [flags] <PROCESS> <FILE>
           am set-debug-app [-w] [--persistent] <PACKAGE>
           am clear-debug-app
           am monitor [--gdb <port>]
           am screen-compat [on|off] <PACKAGE>
           am display-size [reset|MxN]
           am to-uri [INTENT]
           am to-intent-uri [INTENT]
    
    
    am start: start an Activity.  Options are:
        -D: enable debugging
        -W: wait for launch to complete
        --start-profiler <FILE>: start profiler and send results to <FILE>
        -P <FILE>: like above, but profiling stops when app goes idle
        -R: repeat the activity launch <COUNT> times.  Prior to each repeat,
            the top activity will be finished.
        -S: force stop the target app before starting the activity
    
    
    am startservice: start a Service.
    
    
    am force-stop: force stop everything associated with <PACKAGE>.
    
    
    am kill: Kill all processes associated with <PACKAGE>.  Only kills.
      processes that are safe to kill -- that is, will not impact the user
      experience.
    
    
    am kill-all: Kill all background processes.
    
    
    am broadcast: send a broadcast Intent.
    
    
    am instrument: start an Instrumentation.  Typically this target <COMPONENT>
      is the form <TEST_PACKAGE>/<RUNNER_CLASS>.  Options are:
        -r: print raw results (otherwise decode REPORT_KEY_STREAMRESULT).  Use with
            [-e perf true] to generate raw output for performance measurements.
        -e <NAME> <VALUE>: set argument <NAME> to <VALUE>.  For test runners a
            common form is [-e <testrunner_flag> <value>[,<value>...]].
        -p <FILE>: write profiling data to <FILE>
        -w: wait for instrumentation to finish before returning.  Required for
            test runners.
        --no-window-animation: turn off window animations will running.
    
    
    am profile: start and stop profiler on a process.
    
    
    am dumpheap: dump the heap of a process.  Options are:
        -n: dump native heap instead of managed heap
    
    
    am set-debug-app: set application <PACKAGE> to debug.  Options are:
        -w: wait for debugger when application starts
        --persistent: retain this value
    
    
    am clear-debug-app: clear the previously set-debug-app.
    
    
    am monitor: start monitoring for crashes or ANRs.
        --gdb: start gdbserv on the given port at crash/ANR
    
    
    am screen-compat: control screen compatibility mode of <PACKAGE>.
    
    
    am display-size: override display size.
    
    
    am to-uri: print the given Intent specification as a URI.
    
    
    am to-intent-uri: print the given Intent specification as an intent: URI.
    
    
    <INTENT> specifications include these flags and arguments:
        [-a <ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>]
        [-c <CATEGORY> [-c <CATEGORY>] ...]
        [-e|--es <EXTRA_KEY> <EXTRA_STRING_VALUE> ...]
        [--esn <EXTRA_KEY> ...]
        [--ez <EXTRA_KEY> <EXTRA_BOOLEAN_VALUE> ...]
        [--ei <EXTRA_KEY> <EXTRA_INT_VALUE> ...]
        [--el <EXTRA_KEY> <EXTRA_LONG_VALUE> ...]
        [--eu <EXTRA_KEY> <EXTRA_URI_VALUE> ...]
        [--eia <EXTRA_KEY> <EXTRA_INT_VALUE>[,<EXTRA_INT_VALUE...]]
        [--ela <EXTRA_KEY> <EXTRA_LONG_VALUE>[,<EXTRA_LONG_VALUE...]]
        [-n <COMPONENT>] [-f <FLAGS>]
        [--grant-read-uri-permission] [--grant-write-uri-permission]
        [--debug-log-resolution] [--exclude-stopped-packages]
        [--include-stopped-packages]
        [--activity-brought-to-front] [--activity-clear-top]
        [--activity-clear-when-task-reset] [--activity-exclude-from-recents]
        [--activity-launched-from-history] [--activity-multiple-task]
        [--activity-no-animation] [--activity-no-history]
        [--activity-no-user-action] [--activity-previous-is-top]
        [--activity-reorder-to-front] [--activity-reset-task-if-needed]
        [--activity-single-top] [--activity-clear-task]
        [--activity-task-on-home]
        [--receiver-registered-only] [--receiver-replace-pending]
        [--selector]
        [<URI> | <PACKAGE> | <COMPONENT>]
    
    
    Error: Bad component name: com.sencha.TestSencha.STActivity
    ""..\..\Android\android-sdk\tools\android" create project --target android-15 --
    name TestSencha --activity STActivity --path build\ --package com.sencha.TestSen
    cha"
    Can not open source file
    Can not open source file
    Can not open source file

  2. #22
    Sencha User
    Join Date
    Feb 2011
    Posts
    12
    Vote Rating
    0
    grey_monk has a little shameless behaviour in the past

      0  

    Default


    I have same error.
    [crunch] libpng error: Read Error
    You can try to place these files here C:\Program Files\SenchaSDKTools-2.0.0-Beta\imageformats
    It seems to me, only qsvg4.dll solve that problem, but better not to risk)

  3. #23
    Sencha User
    Join Date
    Jan 2012
    Posts
    62
    Vote Rating
    5
    s.t.a.s is on a distinguished road

      0  

    Default


    Quote Originally Posted by grey_monk View Post
    I have same error.

    You can try to place these files here C:\Program Files\SenchaSDKTools-2.0.0-Beta\imageformats
    It seems to me, only qsvg4.dll solve that problem, but better not to risk)
    Application appeared in emulator but doesn't work.
    I see errors in log but it seems to be another problem. I'll be digging it tomorrow.
    Thank you. )

  4. #24
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    This is a high priority issue for us, we'll have something to resolve the Windows packaging issues shortly.

    Sencha Inc

    Jamie Avins

    @jamieavins

  5. #25
    Sencha User
    Join Date
    Mar 2012
    Posts
    76
    Vote Rating
    1
    Monti123 is on a distinguished road

      0  

    Default Issues packaging for Android

    Issues packaging for Android


    Hi,I'm kinda novice at Sencha, would be happy if someone can help me around with this, or tell me it's a known issue by now.

    This is the JSON config file I have:
    {
    "applicationName":"SenchaTest",
    "applicationId":"com.sencha.Test",
    "versionString":"1.0",
    "iconName":"icon.png",
    "outputPath":"/build",
    "inputPath":"/Websites/SenchaTest",
    "configuration":"Debug",
    "platform":"Android",
    "deviceType":"Universal",
    "certificatePath":"/certificates/debug.keystore",
    "sdkPath":"../Program Files (x86)/Android/android-sdk",
    "androidAPILevel":"15",
    "orientations": [
    "portrait",
    "landscapeLeft",
    "landscapeRight",
    "portraitUpsideDown"
    ]
    }

    After tying to execute the following command:

    Sencha package [path to JSON] I get:
    ""../Program Files (x86)/Android/android-sdk\tools\android" create project --target android-15 --name SenchaTest --activity STActicity --path /build\ --package com.sencha.Test"
    Can not open destination file for writing
    Failed to copy packager library
    Failed to package application

    This is although I opened command as an Administrator.Working on Win7 64bit, Sencha Touch 2.

    The actual html \ JS files are they ones from the getting started tutorial and haven't been changed.
    Thanks!!
    Last edited by Monti123; 15 Mar 2012 at 4:26 AM. Reason: All the text came out as 1 long line

  6. #26
    Sencha User
    Join Date
    Feb 2011
    Posts
    12
    Vote Rating
    0
    grey_monk has a little shameless behaviour in the past

      0  

    Default


    Monti123,
    try change you config like this
    {
    "applicationName":"Form",
    "applicationId":"com.lk.gubkin.ru",
    "versionString":"0.0.1",
    "iconName":"V:\\mobile\\resources\\icons\\icon.png",
    "inputPath":"V:\\mobile\\",
    "outputPath":"C:\\lk_debug\\build",
    "configuration":"Debug",
    "platform":"Android",
    "deviceType":"Universal",
    "certificatePath":"C:\\lk_debug\\mykey.keystore",
    "certificateAlias":"",
    "sdkPath":"C:\\Program Files\\Android\\android-sdk",
    "androidAPILevel":"7",
    "orientations": [
    "portrait",
    "landscapeLeft",
    "landscapeRight",
    "portraitUpsideDown"
    ]
    }



  7. #27
    Sencha User
    Join Date
    Mar 2012
    Posts
    76
    Vote Rating
    1
    Monti123 is on a distinguished road

      0  

    Default


    Hi,

    Thanks for the quick reply.

    Didn't work, got the exact same message again.

  8. #28
    Sencha User
    Join Date
    Feb 2011
    Posts
    12
    Vote Rating
    0
    grey_monk has a little shameless behaviour in the past

      0  

    Default


    Hmm, i don't change anything from last build, but get same error.
    Then i try execute command from touch sdk directory, and get successfully compiled .apk
    Code:
    C:\Program Files\SenchaSDKTools-2.0.0-Beta\bin>sencha package c:\lk_debug\config
    1.json
    Created directory C:\lk_debug\build\src\com\lk\gubkin\ru
    Added file C:\lk_debug\build\src\com\lk\gubkin\ru\STActivity.java
    Created directory C:\lk_debug\build\res
    Created directory C:\lk_debug\build\bin
    Created directory C:\lk_debug\build\libs
    Created directory C:\lk_debug\build\res\values
    Added file C:\lk_debug\build\res\values\strings.xml
    Created directory C:\lk_debug\build\res\layout
    Added file C:\lk_debug\build\res\layout\main.xml
    Added file C:\lk_debug\build\AndroidManifest.xml
    Added file C:\lk_debug\build\build.xml
    Added file C:\lk_debug\build\proguard.cfg
    Buildfile: C:\lk_debug\build\build.xml
    -set-mode-check:
    -set-debug-files:
    -set-debug-mode:
    -debug-obfuscation-check:
    -setup:
         [echo] Gathering info for Form...
        [setup] Android SDK Tools Revision 16
        [setup] Project Target: Android 2.1
        [setup] API level: 7
        [setup]
        [setup] ------------------
        [setup] Resolving library dependencies:
        [setup] No library dependencies.
        [setup]
        [setup] ------------------
        [setup]
    -build-setup:
         [echo] Creating output directories if needed...
        [mkdir] Created dir: C:\lk_debug\build\bin\res
        [mkdir] Created dir: C:\lk_debug\build\gen
        [mkdir] Created dir: C:\lk_debug\build\bin\classes
    -pre-build:
    -code-gen:
         [echo] ----------
         [echo] Handling aidl files...
         [aidl] No AIDL files to compile.
         [echo] ----------
         [echo] Handling RenderScript files...
    [renderscript] No RenderScript files to compile.
         [echo] ----------
         [echo] Handling Resources...
         [aapt] Generating resource IDs...
    -pre-compile:
    -compile:
        [javac] Compiling 2 source files to C:\lk_debug\build\bin\classes
    -post-compile:
    -obfuscate:
    -dex:
          [dex] Converting compiled files and external libraries into C:\lk_debug\bu
    ild\bin\classes.dex...
    -crunch:
       [crunch] Crunching PNG Files in source dir: C:\lk_debug\build\res
       [crunch] To destination dir: C:\lk_debug\build\bin\res
       [crunch] Processing image to cache: C:\lk_debug\build\res\drawable-hdpi\icon.
    png => C:\lk_debug\build\bin\res\drawable-hdpi\icon.png
       [crunch]   (processed image to cache entry C:\lk_debug\build\bin\res\drawable
    -hdpi\icon.png: 0% size of source)
       [crunch] Processing image to cache: C:\lk_debug\build\res\drawable-ldpi\icon.
    png => C:\lk_debug\build\bin\res\drawable-ldpi\icon.png
       [crunch]   (processed image to cache entry C:\lk_debug\build\bin\res\drawable
    -ldpi\icon.png: 0% size of source)
       [crunch] Processing image to cache: C:\lk_debug\build\res\drawable-mdpi\icon.
    png => C:\lk_debug\build\bin\res\drawable-mdpi\icon.png
       [crunch]   (processed image to cache entry C:\lk_debug\build\bin\res\drawable
    -mdpi\icon.png: 0% size of source)
       [crunch] Crunched 3 PNG files to update cache
    -package-resources:
         [aapt] Creating full resource package...
         [aapt]     (skipping hidden file 'C:\lk_debug\build\assets\.senchasdk')
         [aapt]     (skipping hidden file 'C:\lk_debug\build\assets\app\.gitkeep')
         [aapt]     (skipping hidden file 'C:\lk_debug\build\assets\resources\css\.g
    itkeep')
         [aapt]     (skipping hidden file 'C:\lk_debug\build\assets\resources\images
    \.gitkeep')
         [aapt]     (skipping hidden file 'C:\lk_debug\build\assets\resources\sass\.
    gitkeep')
         [aapt]     (skipping hidden file 'C:\lk_debug\build\assets\test\resources\c
    ss\.gitkeep')
         [aapt]     (skipping hidden file 'C:\lk_debug\build\assets\test\resources\i
    mages\.gitkeep')
         [aapt]     (skipping hidden file 'C:\lk_debug\build\assets\test\resources\s
    ass\.gitkeep')
    -package:
    [apkbuilder] Current build type is different than previous build: forced apkbuil
    der run.
    [apkbuilder] Creating Form-debug-unaligned.apk and signing it with a debug key..
    .
    -do-debug:
     [zipalign] Running zip align on final apk...
         [echo] Debug Package: C:\lk_debug\build\bin\Form-debug.apk
    debug:
    [propertyfile] Creating new property file: C:\lk_debug\build\bin\build.prop
    [propertyfile] Updating property file: C:\lk_debug\build\bin\build.prop
    [propertyfile] Updating property file: C:\lk_debug\build\bin\build.prop
    [propertyfile] Updating property file: C:\lk_debug\build\bin\build.prop
    
    BUILD SUCCESSFUL
    Total time: 16 seconds
    ""C:\Program Files\Android\android-sdk\tools\android" create project --target an
    droid-7 --name Form --activity STActivity --path C:\lk_debug\build\ --package co
    m.lk.gubkin.ru"
    C:\Program Files\SenchaSDKTools-2.0.0-Beta\bin>

  9. #29
    Sencha User
    Join Date
    Mar 2012
    Posts
    76
    Vote Rating
    1
    Monti123 is on a distinguished road

      0  

    Default


    Thanks again,

    I'm using the commercial version, and don't have the bin dir, so I used the command from the main touch SDK dir.

    For some reason, even after I added the path of the Java.exe file (appears in the jdk1.7.0_02 dir) like requested, I still get the same message the java.exe wasn't found in the original path.

    After running the command, it seemed that there was some progress, but than came the same message again:

    c:\sencha-touch-2.0.0-commercial>sencha package build command\android_pak.json
    [INFO]
    WARNING: Java not found in your path.
    Checking if Java is installed in C:\Program Files (x86)\Java.


    Java was found at C:\Program Files\Java\jdk1.7.0_02\bin\java.exe.
    Please consider adding it to your path:
    - Under Windows XP, open Control Panel / System / Advanced / Environment Variabl
    es
    - Under Windows Vista or Windows 7, open Control Panel / System / Advanced Syste
    m Settings / Environment Variables
    At the end of the "Path" entry in "User variables", add the following:
    ;C:\Program Files\Java\jdk1.7.0_02\bin\java.exe


    Created directory C:\Websites\Debug\src\com\sencha\Test
    Added file C:\Websites\Debug\src\com\sencha\Test\STActivity.java
    Created directory C:\Websites\Debug\bin
    Created directory C:\Websites\Debug\libs
    Created directory C:\Websites\Debug\res\values
    Added file C:\Websites\Debug\res\values\strings.xml
    Created directory C:\Websites\Debug\res\layout
    Added file C:\Websites\Debug\res\layout\main.xml
    Added file C:\Websites\Debug\AndroidManifest.xml
    Added file C:\Websites\Debug\build.xml
    Added file C:\Websites\Debug\proguard.cfg
    ""../Program Files (x86)/Android/android-sdk\tools\android" create project --tar
    get android-15 --name SenchaTest --activity STActivity --path C:\Websites\Debug\
    --package com.sencha.Test"
    Can not open source file
    Can not open source file
    Can not open source file
    Could not run ant with error: 9009
    Failed to package application


    [ERROR] 'SearchForJava' is not recognized as an internal or external command,
    operable program or batch file.
    Error: Project folder 'C:\Websites\Debug' is not empty. Please consider using 'a
    ndroid.bat update' instead.
    '"java.exe"' is not recognized as an internal or external command,
    operable program or batch file.
    Copy operation failed src=C:\Websites\SenchaTest\\C:\sencha-touch-2.0.0-commerci
    al\command\icon.png dst=C:\Websites\Debug\\res\drawable-ldpi\icon.png
    Copy operation failed src=C:\Websites\SenchaTest\\C:\sencha-touch-2.0.0-commerci
    al\command\icon.png dst=C:\Websites\Debug\\res\drawable-mdpi\icon.png
    Copy operation failed src=C:\Websites\SenchaTest\\C:\sencha-touch-2.0.0-commerci
    al\command\icon.png dst=C:\Websites\Debug\\res\drawable-hdpi\icon.png

  10. #30
    Sencha User
    Join Date
    Feb 2011
    Posts
    12
    Vote Rating
    0
    grey_monk has a little shameless behaviour in the past

      0  

    Default


    Do you reboot computer after added java.exe to PATH?