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

Unable to build Android examples with QtCreator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 5.12.0 Alpha, 5.12.0 RC
    • Packaging & Installer
    • QtCreator 4.7.0 Build with Qt5.11.1
      Android SDK tools r25.2.5
      Android NDK r16b
    • Android

    Description

      Install 5.12 Android binaries (tested on Ubuntu), launch QtCreator and open one of the examples and build. Build fails with following error:

      FAILURE: Build failed with an exception.
      * What went wrong:
      Execution failed for task ':processDebugResources'.
      > Failed to execute aapt
      * 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 4s
      Building the android package failed!
      -- For more information, run this command with --verbose.
      12:19:42: The process "/home/qt/Qt_512/5.12.0/android_armv7/bin/androiddeployqt" exited with code 14.
      Error while building/deploying project application (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.12.0 for Android ARMv7))
      When executing step "Build Android APK"
      

      If the same application is compiled from command line it gets built.

      When Qt5.11.1 Android binaries are installed and build with same creator, application is built and deployed to device.

      Attachments

        Issue Links

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

          Activity

            People

              vikas Vikas Pachdha
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes