Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61495

Unable to build an application due to wrong manifest parameter "configChanges"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.9.0
    • QPA
    • * Host: Windows 10 x64
      * Qt 5.9.0 Android ARMv7 (official)
      * NDK R15
      * SDK v26 (API v16 for Android 4.1.2)

    • Android

    Description

      Attempt to build an application with default-generated AndroidManifest.xml file fails with following error:

      -code-gen:
      [mergemanifest] Merging AndroidManifest files into one.
      [mergemanifest] Manifest merger disabled. Using project manifest only.
      [echo] Handling aidl files...
      [aidl] Found 2 AIDL files.
      [aidl] Compiling 2 AIDL files.
      [echo] ----------
      [echo] Handling RenderScript files...
      [echo] ----------
      [echo] Handling Resources...
      [aapt] Generating resource IDs...
      [aapt] E:\git\ng\test\build-tst_android-debug\android-build\bin\AndroidManifest.xml:4: error: Error: String types not allowed (at 'configChanges' with value 'orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation').
      [aapt]

      BUILD FAILED
      C:\Android\android-sdk-r24.3.4\tools\ant\build.xml:649: The following error occurred while executing this line:
      C:\Android\android-sdk-r24.3.4\tools\ant\build.xml:694: null returned: 1

      I have installed a minimal API v16 as described here: http://doc.qt.io/qt-5/android-support.html

      Attachments

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

        Activity

          People

            lukasz.kosiorowski lukasz.kosiorowski
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes