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

Error occur while building the Qml code for Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15
    • None
    • Android

    Description

      On Qt 5.15.2, I am setting up build system for Android. 

      I have set the following setting : 

      Java : jdk-11

      sdk version : 10

      ndk : 21.3.6528147

       

      I am getting below error evetime when applying build 

       

      FAILURE: Build failed with an exception.

      • What went wrong:
        Execution failed for task ':processDebugResources'.
        > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
           > Android resource linking failed
             AAPT: aapt2.exe E 09-23 17:17:33 29484 28828 LoadedArsc.cpp:109] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
             aapt2.exe E 09-23 17:17:33 29484 28828 ApkAssets.cpp:183] Failed to load 'resources.arsc' in APK 'C:\Users\me\AppData\Local\Android\Sdk\platforms\android-35\android.jar'.
             error: failed to load include path C:\Users\me\AppData\Local\Android\Sdk\platforms\android-35\android.jar.
             

      Attachments

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

        Activity

          People

            nikunj Nikunj Arora
            sandeep.uav Sandeep Kumar Yadav
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes