Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.13
-
None
Description
Qt 3D: Planets QML Example fails to build on android
Steps to Reproduce:
- Open Qt 3D: Planets QML Example
- Build and run it on android
Reproducibility: 100%
Logs:
> Task :processDebugMainManifest FAILEDC:\Qt\Examples\Qt-6.2.13\qt3d\planets-qml\build\Android_Qt_6_2_13_Clang_arm64_v8a-Debug\android-build\AndroidManifest.xml Error: android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details. See http://g.co/androidstudio/manifest-merger for more information about the manifest merger. FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':processDebugMainManifest'.> Manifest merger failed : android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details. * Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 25s8 actionable tasks: 8 executedBuilding the android package failed! -- For more information, run this command with --verbose.11:17:12: The process "C:\Qt\6.2.13\mingw_64\bin\androiddeployqt.exe" exited with code 14.Error while building/deploying project planets-qml (kit: Android Qt 6.2.13 Clang arm64-v8a)When executing step "Build Android APK"11:17:12: Elapsed time: 01:19.
Tested on:
Pixel 7 - Android 14
Kit - Android Qt 6.2.13 Clang arm64-v8a