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

annotatedurl example build failing

XMLWordPrintable

    • Android
    • f2660541d (dev), a1ce36667 (6.8)
    • 2024wk34s2FOQtforAndroid

      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
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            koalajar Konsta Alajärvi
            ban F S
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes