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. Android app
QtWS25 Last Chance

Android app

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 4 Posters 604 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.
  • R Offline
    R Offline
    Richa
    wrote on last edited by
    #1

    Hi, i am trying to build android app in qt creator 4.3, qt version 5.6.
    But i am unable to build, every time i got the error
    "Buildfile: build.xml does not exist! Build failed" Building the android package failed!

    please let me know how can i build my test android app

    raven-worxR Pablo J. RoginaP J.HilkJ 3 Replies Last reply
    0
    • R Richa

      Hi, i am trying to build android app in qt creator 4.3, qt version 5.6.
      But i am unable to build, every time i got the error
      "Buildfile: build.xml does not exist! Build failed" Building the android package failed!

      please let me know how can i build my test android app

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @Richa
      seems like your QtCreator still uses Ant for building, but you should use gradle instead

      See this

      Gradle for building application packages for Android devices (APK). Gradle is delivered with Qt 5.9, and later. Because Gradle scripts are not delivered with Android SDK Tools since version 26.0.0, they are delivered with Qt 5.9 and 5.6.3.
      Note: Using Ant to build APKs is no longer supported.

      There is a checkbox in the QtCreator/Project settings to use gradle.
      (You may need to update QtCreator, i don't know when this setting was added.)

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • R Richa

        Hi, i am trying to build android app in qt creator 4.3, qt version 5.6.
        But i am unable to build, every time i got the error
        "Buildfile: build.xml does not exist! Build failed" Building the android package failed!

        please let me know how can i build my test android app

        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #3

        @Richa could you better describe your build environment? OS, how you installer Qt/Qt Creator., what and how Android SDK and NDK installed, etc.

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0
        • R Richa

          Hi, i am trying to build android app in qt creator 4.3, qt version 5.6.
          But i am unable to build, every time i got the error
          "Buildfile: build.xml does not exist! Build failed" Building the android package failed!

          please let me know how can i build my test android app

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @Richa QtCreator 4.3 is super old, I'm not sure it actually supports gradle.

          You should update, the current one is 4.6.1


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          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