Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Problem Qt for Android



  • Hi,
    I want to run Qt as an android application. Despite installing the necessary packages, I get the following error. What do you think could be the problem? The versions I use are as follows;

    Qt: 5.11.1
    Qt Creator: 4.6.2
    Android NDK: r10e
    Android SDK: 26.1.1
    Android JDK: 8u271
    Android API level: 30
    (SDK Version: 26.1.1, NDK Version: 10.4.0)

    The Error:

    The API level set for the APK is less than the minimum required by the kit.
    The minimum API level required by the kit is 16.
    Error while building/deploying project accelbubble (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.11.1 for Android armv7))
    When executing step "Build Android APK"

    Qt Devices image:
    3cfacaca-ec12-4056-8647-6b323d56a630-image.png

    e3264e46-f3fc-4481-a8cd-583f65e8b58f-image.png

    1606142f-561a-4600-a3d9-ce33e57ce4ab-image.png



  • @safiye

    AFAIK the message shall relate to the target SDK setting as in here:
    f2addad7-ebd4-4191-b66d-31972fd45d72-image.png

    Note this screenshot is taken from a much younger creator version 4.13.2.

    You are using creator V4.6.2 and since then a lot has changed. I recommend updating to a more recent creator version.
    The same also for the Qt lib version you are using.



  • Thank you @koahnig


Log in to reply