Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.0 Beta2
-
None
-
-
f2660541d (dev), a1ce36667 (6.8)
-
2024wk34s2FOQtforAndroid
Description
Trying to build the annotatedurl example for Android fails.
Command
+ mkdir -p /home/debci/annotatedurl/qmake-build + cd /home/debci/annotatedurl/qmake-build + /usr/lib/aarch64-linux-gnu/qt-android-6.8-arm64-v8a/bin/qmake /tmp/autopkgtest-lxc.yfn8ngxd/downtmp/build.uDR/src/qtconnectivity/examples/nfc/annotatedurl/annotatedurl.pro Info: creating stash file /home/debci/annotatedurl/qmake-build/.qmake.stash + make V=1 apk
Output
* What went wrong: Execution failed for task ':processDebugResources'. > A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction > Android resource linking failed ERROR: /home/debci/annotatedurl/qmake-build/android-build/AndroidManifest.xml:15:5-34:19: AAPT: error: resource drawable/icon (aka org.qtproject.annotatedurl:drawable/icon) not found.
It fails also when building with cmake
+ /usr/lib/aarch64-linux-gnu/qt-android-6.8-arm64-v8a/bin/qt-cmake -DANDROID_SDK_ROOT=/usr/lib/android-sdk -DANDROID_NDK_ROOT=/usr/lib/android-ndk -DQT_ENABLE_VERBOSE_DEPLOYMENT=ON -DCMAKE_VERBOSE_MAKEFILE=ON -G 'Unix Makefiles' -S qtconnectivity/examples/nfc/annotatedurl -B /home/debci/annotatedurl/cmake-build + cmake --build /home/debci/annotatedurl/cmake-build --parallel
Attachments
Issue Links
- is duplicated by
-
QTBUG-127773 [REG 6.7.2->6.8.0beta3] nfc/annotatedurl not compiling on Android
- Closed