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

androiddeployqt fail on Android build platform: android-33-ext5

    XMLWordPrintable

Details

    • Android
    • a43f349f9 (dev), 8cec4270a (6.5), 4b73de558 (master), ebb5823e9 (tqtc/lts-5.15), 31db5f58a (tqtc/lts-6.2)
    • 2023wk14FOQtforAndroid

    Description

      On systems where the Android build platform: android-33-ext5 or android-33-ext4 installed (this includes GitHub Ubuntu runners), the tool androiddeployqt does not work. It fails with the following error message below. A relevant example is

      https://github.com/Akaflieg-Freiburg/addhoursandminutes/actions/runs/4567491867/jobs/8061350762

      Generating Android Package 
       Input file: /home/runner/work/addhoursandminutes/addhoursandminutes/build/src/android-addhoursandminutes-deployment-settings.json  
       Output directory: /home/runner/work/addhoursandminutes/addhoursandminutes/build/src/android-build/ 
       Application binary: addhoursandminutes 
       Android build platform: android-33-ext4 
       Install to device: No 
      Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Windows 
      Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.macOS 
      Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.iOS 
      Downloading [https://services.gradle.org/distributions/gradle-7.4.2-bin.zip] 
      ...........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%  
      Welcome to Gradle 7.4.2! 
       Here are the highlights of this release: 
       - Aggregated test and JaCoCo reports 
       - Marking additional test source directories as tests in IntelliJ 
       - Support for Adoptium JDKs in Java toolchains 
      
      For more details see [https://docs.gradle.org/7.4.2/release-notes.html] 
      Starting a Gradle Daemon (subsequent builds will be faster) 
      FAILURE: Build completed with 2 failures. 
      1: Task failed with an exception. 
      ----------- 
      * Where: 
      Build file '/home/runner/work/addhoursandminutes/addhoursandminutes/build/src/android-build/build.gradle' line: 38 
      * What went wrong: 
      A problem occurred evaluating root project 'android-build'. 
      > For input string: "ext4" 
      * 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. 
      ============================================================================== 
      

      Attachments

        Issue Links

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

          Activity

            People

              assam Assam Boudjelthia
              skebekus Stefan Kebekus
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: