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. Build Issue
Qt 6.11 is out! See what's new in the release blog

Build Issue

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 1.1k Views 1 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.
  • SKMaheshwariS Offline
    SKMaheshwariS Offline
    SKMaheshwari
    wrote on last edited by
    #1

    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 21.
    Error while building/deploying project SimpleWeather (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.2 for Android))
    When executing step "Build Android APK"

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You need to set proper API level for your APK, just as the error message says. You can do it by modifying relevant values in your AndroidManifest.xml.

      (Z(:^

      1 Reply Last reply
      1
      • SKMaheshwariS Offline
        SKMaheshwariS Offline
        SKMaheshwari
        wrote on last edited by
        #3

        Good Morning, Thanks a lot for your reply. I did change in "AndroidManifest.xml" and now selected latest, Minimum required SDK and Target SDK both as "API 29: Android 10".

        After compile, getting following error.

        Building the android package failed!
        -- For more information, run this command with --verbose.
        23:00:56: The process "C:\Qt\5.14.2\android\bin\androiddeployqt.exe" exited with code 14.
        Error while building/deploying project SimpleWeather (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.2 for Android))
        When executing step "Build Android APK"
        23:00:56: Elapsed time: 00:09.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          This output does not show what went wrong, sorry. Run in verbose mode (you can turn it on in Qt Creator->Project->Build->Build APK) and paste here the lines which mention what wen wrong (or the whole androiddeployqt output).

          (Z(:^

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved