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. Necessitas deploying error
Qt 6.11 is out! See what's new in the release blog

Necessitas deploying error

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 4 Posters 3.9k 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.
  • Q Offline
    Q Offline
    qxoz
    wrote on last edited by
    #1

    Hi everyone!
    I am recently install latest Necessitas SDK on my Ubuntu 12.10.
    Then create simple app with 1 button and try run it on emulator, but got this error on deploying step:
    @-pre-build:

    -code-gen:
    [mergemanifest] Merging AndroidManifest files into one.
    [mergemanifest] Manifest merger disabled. Using project manifest only.
    [echo] Handling aidl files...
    [aidl] Found 2 AIDL files.
    [aidl] Compiling 2 AIDL files.
    [echo] ----------
    [echo] Handling RenderScript files...
    Packaging Error: Command '/home/botir/necessitas/apache-ant-1.8.4/bin/ant clean debug' failed.Exit code: 1
    Error while building/deploying project untitled1 (target: Necessitas Qt 4.8.2 for Android armv5)
    When executing step 'Packaging for Android'@
    How to fix it?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Peppy
      wrote on last edited by
      #2

      Well, it is issue with Java... it requires additional copying some libraries from JRE to JSE (or vice versa)... try to google it...

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qxoz
        wrote on last edited by
        #3

        I tried. Most solutions in the web are similar to "sheeeng.blogspot.com":http://sheeeng.blogspot.com/2011/09/packaging-error-command-usrbinant-debug.html
        and it is useless for me. Others is installing right packages of jdk, i have installed openjdk-6.
        For now i am stuck.

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qxoz
          wrote on last edited by
          #4

          Any advice which way to dig?

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tzander
            wrote on last edited by
            #5

            did you try to debug the problem?
            starting with running manually the ant command that fails and finding out why it fails.

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              qxoz
              wrote on last edited by
              #6

              No i didn't. I never use Ant before, how to do what you say?

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sandsand
                wrote on last edited by
                #7

                I had an almost similar problem. Here is my question on stackoverflow and what was the solution for me: http://stackoverflow.com/questions/15308639/deploying-in-necessitas

                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