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

Error when building Qt Quick Application for Android: "AAPT2 is not supported on 32-bit Linux"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.14
    • Build System
    • None
    • Android

    Description

      Building the qtquickcontrols2 gallery example with the latest 5.14 on Ubuntu 18.04.3 64-bit, I ran into this error:

      > Task :mergeExtDexDebug
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':mergeDebugResources'.
      > Multiple task action failures occurred:
         > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
            > AAPT2 aapt2-3.5.0-5435860-linux Daemon #0: AAPT2 is not supported on 32-bit Linux, see supported systems on https://developer.android.com/studio#system-requirements-a-namerequirementsa
      

      Verbose build output attached.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              mitch_curtis Mitch Curtis
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes