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. Building QT Application for android device
Forum Updated to NodeBB v4.3 + New Features

Building QT Application for android device

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 1.3k Views
  • 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.
  • J Offline
    J Offline
    jiji
    wrote on last edited by jiji
    #1

    Hi, I have a problem when I try to connect my application for android device:

    Android build platform: android-25
    Install to device: No
    Buildfile: build.xml does not exist!
    Build failed
    Building the android package failed!

    Can you help me please!!

    jsulmJ 1 Reply Last reply
    0
    • J jiji

      Hi, I have a problem when I try to connect my application for android device:

      Android build platform: android-25
      Install to device: No
      Buildfile: build.xml does not exist!
      Build failed
      Building the android package failed!

      Can you help me please!!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @jiji I guess you mean compile/build not connect?
      The information you provided isn't enough to say what is wrong. Please provide the whole build log.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jiji
        wrote on last edited by
        #3

        Generating Android Package
        Input file: /home/qt/Documents/projectQT/build-projectQT-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_f42918-Debug/android-libprojectQT.so-deployment-settings.json
        Output directory: /home/qt/Documents/projectQT/build-projectQT-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_f42918-Debug/android-build/
        Application binary: /home/qt/Documents/projectQT/build-projectQT-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_f42918-Debug/libprojectQT.so
        Android build platform: android-25
        Install to device: No
        Buildfile: build.xml does not exist!
        Build failed
        Building the android package failed!
        -- For more information, run this command with --verbose.
        12:24:30: Le processus "/home/qt/Qtinstall/5.8/android_armv7/bin/androiddeployqt" s'est terminé avec le code 14.
        Erreur lors de la compilation/déploiement du projet projectQT (kit : Android for armeabi-v7a (GCC 4.9, Qt 5.8.0))
        When executing step "Build Android APK"
        12:24:30: Temps écoulé : 00:08.

        jsulmJ 1 Reply Last reply
        0
        • J jiji

          Generating Android Package
          Input file: /home/qt/Documents/projectQT/build-projectQT-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_f42918-Debug/android-libprojectQT.so-deployment-settings.json
          Output directory: /home/qt/Documents/projectQT/build-projectQT-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_f42918-Debug/android-build/
          Application binary: /home/qt/Documents/projectQT/build-projectQT-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0_f42918-Debug/libprojectQT.so
          Android build platform: android-25
          Install to device: No
          Buildfile: build.xml does not exist!
          Build failed
          Building the android package failed!
          -- For more information, run this command with --verbose.
          12:24:30: Le processus "/home/qt/Qtinstall/5.8/android_armv7/bin/androiddeployqt" s'est terminé avec le code 14.
          Erreur lors de la compilation/déploiement du projet projectQT (kit : Android for armeabi-v7a (GCC 4.9, Qt 5.8.0))
          When executing step "Build Android APK"
          12:24:30: Temps écoulé : 00:08.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @jiji Are you building using Ant? If so switch to Gradle (you can do it in your project settings).

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jiji
            wrote on last edited by
            #5

            @jsulm ,I switch to Gradle, but nothing changed.
            Those are my settings:
            0_1495180101934_switchToGradle.png

            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