Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Packaging Error: Command '/usr/bin/ant clean debug' failed.Exit code: 1
Forum Updated to NodeBB v4.3 + New Features

Packaging Error: Command '/usr/bin/ant clean debug' failed.Exit code: 1

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 4 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • freddy311082F Offline
    freddy311082F Offline
    freddy311082
    wrote on last edited by
    #1

    Hi.. I'm trying to start a new app for android and when I test thebasic example of my app, the message that I receive is:

    Packaging Error: Command '/usr/bin/ant clean debug' failed.Exit code: 1

    I have installed ant and its version is 1.9.2, so, it's not an old version...

    what I'm I supose to do??

    best regards

    freddy

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      Is openjdk-6 or 7 installed on your system ? Or is it set correctly in QtCreator ?
      To check goto to Tools > Option > Android > JDK Location
      It should be something like "/usr/lib/jvm/java-6-openjdk-i386"

      157

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tsweti
        wrote on last edited by
        #3

        I had this problem with older versions of Qt Creator although everything was set up correctly. Which one are you using?

        1 Reply Last reply
        0
        • freddy311082F Offline
          freddy311082F Offline
          freddy311082
          wrote on last edited by
          #4

          well... firstone, I've the last version of QtCreator (QtCreator 2.8.1) and I've the openjdk-7 and this is the string in the JDK field: /usr/lib/jvm/java-7-openjdk-amd64

          best regards...

          Freddy

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Moster
            wrote on last edited by
            #5

            I also had this issue irregularly. When nothing helped, I just deleted the project, but kept the source and header files of course. Then I completely recreated it and that fixed it. I know that this is a dirty method, but nothing else helped in that case.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved