BUILD ERROR IN QT 5.3.1 (UBUNTU 12.10)



  • I have API 16 and I correctly do the android configuration but when compile my proyect (or example) it show the next build error:

    BUILD FAILED
    /home/pablo/Descargas/android-sdk-linux2/tools/ant/build.xml:653: The following error occurred while executing this line:
    /home/pablo/Descargas/android-sdk-linux2/tools/ant/build.xml:659: Execute failed: java.io.IOException: Cannot run program "/home/pablo/Descargas/android-sdk-linux2/build-tools/19.1.0/aidl": error=2, No such file or directory
    **
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
    at java.lang.Runtime.exec(Runtime.java:617)
    at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
    at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:628)
    at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
    at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
    at com.android.ant.AidlExecTask$AidlProcessor.process(AidlExecTask.java:102)
    at com.android.ant.MultiFilesTask.processFiles(MultiFilesTask.java:131)
    at com.android.ant.AidlExecTask.execute(AidlExecTask.java:203)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    at com.android.ant.IfElseTask.execute(IfElseTask.java:120)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43

    Total time: 1 second
    Generating Android Package
    Input file: /home/pablo/pryoectosfinal/build-prueba1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug/android-libprueba1.so-deployment-settings.json
    Output directory: /home/pablo/pryoectosfinal/build-prueba1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug/android-build
    Application binary: /home/pablo/pryoectosfinal/build-prueba1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug/libprueba1.so
    Android build platform: android-16
    Install to device: 4df703690c9fcf81
    Buildfile: /home/pablo/pryoectosfinal/build-prueba1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug/android-build/build.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 23.0.2
    [checkenv] Installed at /home/pablo/Descargas/android-sdk-linux2

    -setup:
    [echo] Project Name: QtApp
    [gettype] Project Type: Application

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 19.1.0
    [echo] Resolving Build Target for QtApp...
    [gettarget] Project Target: Android 4.1.2
    [gettarget] API level: 16
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/pablo/pryoectosfinal/build-prueba1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug/android-build/bin
    [mkdir] Created dir: /home/pablo/pryoectosfinal/build-prueba1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug/android-build/bin/res
    [mkdir] Created dir: /home/pablo/pryoectosfinal/build-prueba1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug/android-build/bin/rsObj
    [mkdir] Created dir: /home/pablo/pryoectosfinal/build-prueba1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug/android-build/bin/rsLibs
    [mkdir] Created dir: /home/pablo/pryoectosfinal/build-prueba1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug/android-build/gen
    [mkdir] Created dir: /home/pablo/pryoectosfinal/build-prueba1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug/android-build/bin/classes
    [mkdir] Created dir: /home/pablo/pryoectosfinal/build-prueba1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug/android-build/bin/dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for QtApp...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency]
    [dependency] ------------------
    [echo] ----------
    [echo] Building Libraries with 'debug'...
    [subant] No sub-builds to iterate on

    -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.
    Building the android package failed!
    -- For more information, run this command with --verbose.
    17:53:37: The process "/home/pablo/Qt5.3.1/5.3/android_armv7/bin/androiddeployqt" exited with code 14.
    Error while building/deploying project prueba1 (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.1))
    When executing step 'Deploy to Android device'

    17:53:37: Elapsed time: 00:05.



  • Please Can someone help me?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.