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

"package" attribute in AndroidManifest is deprecated

    XMLWordPrintable

Details

    • Android
    • 91b0f269b (dev), 86f840fb0 (6.7)
    • 2023wk42FOQtforAndroid, 2023wk44FOQtforAndroid, 2023wk48FOQtforAndroid, 2024wk18FOQtforAndroid

    Description

      gradle prints this warning:

      package="foo.bar.app" found in source AndroidManifest.xml: <snip>/app/android-build/AndroidManifest.xml.Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace

      Using a custom AndroidManifest.xml without a package attribute runs into

      Invalid android manifest file: <snip>/app/android-build//AndroidManifest.xml
      

      because androiddeployqt checks for it's existence.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-106907
          # Subject Branch Project Status CR V

          Activity

            People

              assam Assam Boudjelthia
              cajus Cajus Pollmeier
              Votes:
              7 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes