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



  • 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!


  • Lifetime Qt Champion

    Hi and welcome to devnet,

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



  • 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?


  • Lifetime Qt Champion

    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.



  • thank you :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.