Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.4.0 RC1, 6.5, 6.6, 6.7
-
-
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.
More on this https://developer.android.com/build/configure-app-module
Attachments
Issue Links
- is duplicated by
-
QTBUG-118843 androiddeployqt requires a manifest 'package' attribute, which is deprecated in Gradle 7.x
- Closed
-
QTBUG-107222 move package name from AndroidManifest.xml to build.gradle
- Closed
- is required for
-
QTBUG-113383 Spike Gradle update need for Android 14
- In Progress
- relates to
-
QTBUG-119059 Cannot build any Qt application on Android with latest 6.7.0 snapshot
- Closed
-
QTBUG-123059 "package android.location.altitude does not exist" when building qtpositioning for Android on Linux
- Closed
-
QTBUG-105510 Qt 6.5.0: Update gradle
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
Gerrit Reviews
For Gerrit Dashboard: QTBUG-106907 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
560026,6 | Android: account for namespace in build.gradle instead of manifest | dev | qt/qtbase | Status: NEW | 0 | 0 |
560027,7 | Android: update AGP to version 8.2.2 | dev | qt/qtbase | Status: NEW | 0 | 0 |
560032,5 | Bump androix dependency to 1.13.1 | dev | qt/qtbase | Status: NEW | +1 | 0 |
560292,1 | Coin: update jdk from 11 to 17 to support Android builds with Gradle 8+ | dev | qt/qt5 | Status: NEW | 0 | 0 |
560322,2 | Android: support namespace in build.gradle | master | qt-creator/qt-creator | Status: NEW | +1 | 0 |
560601,2 | Android:CMake: Add QT_ANDROID_PACKAGE_NAME property | dev | qt/qtbase | Status: NEW | 0 | 0 |