Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#129 Packaging Error '[..]ant.bat clean debug' failed

unstable
open
nobody
2014-01-02
2011-12-07
Alex
No

Hello,

just tryied to follow exaktly http://developer.qt.nokia.com/wiki/How_to_Create_and_Run_Qt_Application_for_Android for getting a first hello world with necessitas on my android phone.

Compiling works fine but as soon as I try to run the program using the run button it seems the whole thing is rebuild and then I end up with the error:
-compile:
[javac] C:\temp\necessitas\android-sdk\tools\ant\build.xml:600: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
Packaging Error: Command 'C:\temp\necessitas/apache-ant-1.8.2/bin/ant.bat clean debug' failed.Exit code: 1
Error while building project HelloWorld (target: Android)
When executing build step 'Packaging for Android'

Ant is installed in the mentioned directory.
I'm using Necessitas 0.3

Does anybody has an idea? Thanks!

Discussion

  • Alex
    Alex
    2011-12-07

    • Description has changed:

    Diff:

    --- old 
    +++ new 
    @@ -3,7 +3,11 @@
     just tryied to follow exaktly http://developer.qt.nokia.com/wiki/How_to_Create_and_Run_Qt_Application_for_Android for getting a first hello world with necessitas on my android phone.
    
     Compiling works fine but as soon as I try to run the program using the run button it seems the whole thing is rebuild and then I end up with the error:
    -Packaging Error: Command 'C:\temp\necessitas/apache-ant-1.8.2/bin/ant.bat clean debug' failed. Exit code 1
    +-compile:
    +    [javac] C:\temp\necessitas\android-sdk\tools\ant\build.xml:600: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    +Packaging Error: Command 'C:\temp\necessitas/apache-ant-1.8.2/bin/ant.bat clean debug' failed.Exit code: 1
    +Error while building project HelloWorld (target: Android)
    +When executing build step 'Packaging for Android'
    
     Ant is installed in the mentioned directory.
     I'm using Necessitas 0.3
    
     
  • Alex
    Alex
    2011-12-07

    • summary: Packaging Error '[..]ant.bat clea debug' failed --> Packaging Error '[..]ant.bat clean debug' failed
     
  • Alex
    Alex
    2011-12-07

    • status: open --> closed
     
  • Alex
    Alex
    2011-12-07

    found the reason myself.
    tools.jar was missing in my java installation... whyever ;)

     
  • Rajeev
    Rajeev
    2012-04-03

    where to put, i mean what is the path for tools.jar?

    • status: closed --> open