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

"package" attribute in AndroidManifest is deprecated

    XMLWordPrintable

Details

    • Android
    • 2023wk42FOQtforAndroid, 2023wk44FOQtforAndroid, 2023wk48FOQtforAndroid

    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

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

          Activity

            People

              rampe Rami Potinkara
              cajus Cajus Pollmeier
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes