Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. build problem with ant
Forum Updated to NodeBB v4.3 + New Features

build problem with ant

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 1.2k 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.
  • C Offline
    C Offline
    Chris CCF
    wrote on last edited by
    #1

    My problem is that no matter I am using window or linux, when I would like to build the android apk with Qt example, I got error:

    -- Command: /home/chrischan/Android/Sdk/tools/android update project --path /home/chrischan/progs/build-basiclayouts-Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0-Debug/android-build/ --target android-23 --name QtApp
    Using ant: /usr/local/apache-ant-1.10.1/bin/ant
    Buildfile: build.xml does not exist!

    Here is my installation.

    1. Qt-5.8.0
    2. apache-ant-1.10.1
    3. android sdk 23
    4. android ndk r14

    Do anyone give a hint on how to solve the problem?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chris CCF
      wrote on last edited by
      #2

      I have solved the problem by replacing the tools in the sdk file by downloading the tools_r25_windows.zip

      The pack can be found in the following thread.

      https://stackoverflow.com/questions/37505709/how-do-i-download-the-android-sdk-without-downloading-android-studio

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved