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

"package" attribute in AndroidManifest is deprecated

    XMLWordPrintable

Details

    • Android
    • 2023wkXXFOQtforAndroid

    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

          Activity

            People

              qtandroidteam Qt Android Team
              cajus Cajus Pollmeier
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: