Results 1 to 4 of 4

Thread: Packaging error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2012
    Location
    Lesotho
    Posts
    33
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Packaging error

    Can anybody help me with this problem. I am getting packaging error when deploying qt app on android device. I am using widows 7. here is the error I get.

    Qt Code:
    1. 16:39:55: Running steps for project TestAndroid...
    2. 16:39:55: Configuration unchanged, skipping qmake step.
    3. 16:39:55: Starting: "C:\Qt\Qt5.1.0\Tools\mingw48_32\bin\mingw32-make.exe"
    4. mingw32-make: Nothing to be done for 'first'.
    5. 16:39:58: The process "C:\Qt\Qt5.1.0\Tools\mingw48_32\bin\mingw32-make.exe" exited normally.
    6. 16:39:58: Starting: "C:\Qt\Qt5.1.0\Tools\mingw48_32\bin\mingw32-make.exe" INSTALL_ROOT="C:\Users\noble1\Documents\androidApps\TestAndroid\android" install
    7. xcopy /s /q /y /i C:\Users\noble1\Documents\androidApps\TestAndroid\qml\TestAndroid C:\Users\noble1\Documents\androidApps\TestAndroid\android\assets\qml\TestAndroid
    8. 1 File(s) copied
    9. copy /y "libTestAndroid.so" "C:\Users\noble1\Documents\androidApps\TestAndroid\android\libs\x86\libTestAndroid.so"
    10. 1 file(s) copied.
    11. 16:40:02: The process "C:\Qt\Qt5.1.0\Tools\mingw48_32\bin\mingw32-make.exe" exited normally.
    12. 16:40:02: Copy Qt app & libs to Android package ...
    13. 16:40:02: Creating package file ...
    14. 16:40:02: Package deploy: Running command 'C:/Program Files/Java/apache-ant-1.9.2/bin clean debug'.
    15. Packaging error: Could not start command 'C:/Program Files/Java/apache-ant-1.9.2/bin clean debug'. Reason: Process failed to start: Access is denied.
    16. Error while building/deploying project TestAndroid (kit: Android for x86 (GCC 4.8, Qt 5.1.0))
    17. When executing step 'Packaging for Android'
    18. 16:40:02: Elapsed time: 00:08.
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Packaging error

    I would guess that this path "C:/Program Files/Java/apache-ant-1.9.2/bin" is a directory and not the ant executable.

  3. #3
    Join Date
    Mar 2012
    Location
    Lesotho
    Posts
    33
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: [solved]packaging error

    Thanks I had to include ant.exe in the path.it's now working.

  4. #4
    Join Date
    Mar 2012
    Location
    Lesotho
    Posts
    33
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: [solved]packaging error

    I mean to say I had to include ant.bat
    Thanks again

Similar Threads

  1. Packaging error on deploy
    By cia.michele in forum Installation and Deployment
    Replies: 3
    Last Post: 4th July 2013, 07:03
  2. Qt5 Ubuntu packaging
    By alenn.masic in forum Qt Programming
    Replies: 2
    Last Post: 8th March 2013, 14:00
  3. Packaging resources into already made exe
    By zzz9 in forum Installation and Deployment
    Replies: 0
    Last Post: 23rd August 2012, 12:37
  4. help me, packaging emptyproject
    By vinhmta in forum Newbie
    Replies: 1
    Last Post: 11th June 2012, 11:24
  5. packaging
    By acano in forum Qt Programming
    Replies: 5
    Last Post: 4th October 2010, 18:56

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.