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. Qt 5.9.1 : Android build SDK is empty
Forum Updated to NodeBB v4.3 + New Features

Qt 5.9.1 : Android build SDK is empty

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 3 Posters 3.1k 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.
  • I Offline
    I Offline
    Ibrahim
    wrote on 15 Jul 2017, 15:25 last edited by Ibrahim
    #1

    Hi; I'm using Linux Deepin 15.4 and Qt 5.9.1. I set Android Sdk on Qt Creator like this:
    Qt->Devices->Android
    Then I created and build a QtQuickControls2 app and I get this error:

    Build failed
    Warning: Android platform 'android--1' does not exist in SDK.
    Building the android package failed!
    

    Because Android build SDK is empty like this:
    Android build SDK
    I saw this answer, but it is not working for Qt 5.9.1. Can you help me? Thanks.

    1 Reply Last reply
    0
    • I Offline
      I Offline
      Ibrahim
      wrote on 15 Jul 2017, 16:54 last edited by Ibrahim
      #2

      Problem solved.
      I was use older Qt version and it doesn't need Apache Ant. But Qt 5.9.1 needs Apache Ant.
      I installed Apache Ant like this for Linux:

      sudo apt-get install ant
      
      1 Reply Last reply
      0
      • P Offline
        P Offline
        Pitex
        wrote on 4 Aug 2017, 18:10 last edited by
        #3

        I had the same problem under Windows 10 - installing Apache Ant 1.9.9 and setting it in QtCreator solved it. Thanks.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tham
          wrote on 4 Sept 2017, 06:42 last edited by
          #4

          Could you select api lower than 25?After I update to android studio 2.3.3 and Qt5.9.1, the only api I could select is 25

          I put the details at here

          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