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. Cannot build an Android application with QtCreator 4.5.1

Cannot build an Android application with QtCreator 4.5.1

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 608 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.
  • A Offline
    A Offline
    A1exander_V_Z
    wrote on last edited by
    #1

    I have been using Qt 5.6 for developing a cross-platform (Windows/Linux/Mac/Android) applications fro some time. Recently I have made a terrible blunder of updating Qt Creator along with installing Qt 5.9.4, which have completely broken creation of Android applications.

    Compiling may be OK, but in the end I get the following error:

    • What went wrong:
      A problem occurred evaluating root project 'android-build'.

    Failed to apply plugin [id 'android']
    Gradle version 1.10 is required. Current version is 2.2.1. If using the gradle wrapper, try editing the distributionUrl

    I have tried editing gradle-wrapper.properties file, but Qt seems to overwrite the whole android-build directory every time.

    I have tried to update build tools from Android SDK, but it did not help and have also broken 5.6.3 compilation with the following error:

    fatal error: stdlib.h: No such file or directory

    Qt 5.9.4 compilation of the same code mysteriously works.

    ekkescornerE 1 Reply Last reply
    0
    • A A1exander_V_Z

      I have been using Qt 5.6 for developing a cross-platform (Windows/Linux/Mac/Android) applications fro some time. Recently I have made a terrible blunder of updating Qt Creator along with installing Qt 5.9.4, which have completely broken creation of Android applications.

      Compiling may be OK, but in the end I get the following error:

      • What went wrong:
        A problem occurred evaluating root project 'android-build'.

      Failed to apply plugin [id 'android']
      Gradle version 1.10 is required. Current version is 2.2.1. If using the gradle wrapper, try editing the distributionUrl

      I have tried editing gradle-wrapper.properties file, but Qt seems to overwrite the whole android-build directory every time.

      I have tried to update build tools from Android SDK, but it did not help and have also broken 5.6.3 compilation with the following error:

      fatal error: stdlib.h: No such file or directory

      Qt 5.9.4 compilation of the same code mysteriously works.

      ekkescornerE Offline
      ekkescornerE Offline
      ekkescorner
      Qt Champions 2016
      wrote on last edited by
      #2

      @A1exander_V_Z can you give 5.10.1 a try ?

      ekke ... Qt Champion 2016 | 2024 ... mobile business apps
      5.15 --> 6.8 https://t1p.de/ekkeChecklist
      QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

      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