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. Cannot create a new AVD. No sufficient recently Android SDK available. Install an SDK of at least API version 0.
Forum Updated to NodeBB v4.3 + New Features

Cannot create a new AVD. No sufficient recently Android SDK available. Install an SDK of at least API version 0.

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 2 Posters 2.5k Views 2 Watching
  • 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
    a_so
    wrote on last edited by
    #1

    Hi!

    I am facing troubles with Qt 5.8 for Android. Under devices/Android I would like to create a new virtual device but option "target api" is disabled. I had installed Android Studio before, but use now standalone SDK manager.

    Error message tells me:

    Cannot create a new AVD. No sufficient recently Android SDK available. Install an SDK of at least API version 0. 
    

    However, I have installed under Sdk/platforms/ platform android-23 and android-25. All necessary tools (sdk build tools, ndk, lldb,..) are installed. What do I miss here? I try to create an APK for deployment to an android phone and guess this will become an issue under option "build apk" later on.

    Thank you in advance for your advice!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by SGaist
      #2

      Hi and welcome to devnet,

      There are known issues with the latest SDK/NDK, see this wiki entry for more information and workaround.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        a_so
        wrote on last edited by
        #3

        Thank you a lot! I installed tools_r25.2.5 and Android NDK r10e and now I can select my target api. I use target sdk platform android-23, in this NDK version android-21 is the latest platform. Do the versions have to match?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          No they don't, it means that you won't be able to use more recent features from Android.

          For more information see the Android deployment guide.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            a_so
            wrote on last edited by
            #5

            thank you :)

            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