Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23676

QtCreator requires deprecated minSdkVersion in AndroidManifest.xml and fails to build APK

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 4.11.1
    • Android Support
    • Ubuntu 19.10, Qt 5.14.1, latest Android Sdk & tooling
    • Android

    Description

      To even start building an Android APK, QtCreator requires minSdkVersion to be defined in AndroidManifest.xml. However, minimum and target sdk versions are nowadays supposed to be defined in build.grade file and the latest Android tooling throws and exception if minSdkVersion is found in AndroidManifest.xml:

      – clip –
      Caused by: com.android.builder.errors.EvalIssueException: Failed to parse XML in AndroidManifest.xml
      The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.
      – clop –

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              portale Alessandro Portale
              heikki Heikki Haveri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes