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

"package" attribute in AndroidManifest is deprecated

XMLWordPrintable

    • Android
    • 2023wkXXFOQtforAndroid

      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.

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

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

              Created:
              Updated: