Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android Build for SDK 26 failed with 'processReleaseResources FAILED' aapt.exe error
Forum Updated to NodeBB v4.3 + New Features

Android Build for SDK 26 failed with 'processReleaseResources FAILED' aapt.exe error

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 2.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PowerNow
    wrote on 5 Jul 2018, 15:50 last edited by PowerNow 7 May 2018, 15:51
    #1

    Hi,
    after changing the Android target SDK from 21 to 26 (because of dynamic permissions) on Qt5.11.1/Win10 I get the following error during the build process.

    ...
    Successfully started process 'command 'D:\PROGRAMS\Android\sdk-24.4.1\build-tools\24.0.1\aapt.exe''
    :processReleaseResources FAILED
    :processReleaseResources (Thread[main,5,main]) completed. Took 8.011 secs.
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':processReleaseResources'.
    > com.android.ide.common.process.ProcessException: Failed to execute aapt
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
    
    BUILD FAILED
    
    Total time: 57.302 secs
    Stopped 0 worker daemon(s).
    .....
    Building the android package failed!
    16:58:04: The process "D:\PROGRAMS\Qt\Qt5.11.1\5.11.1\android_armv7\bin\androiddeployqt.exe" exited with code 14.
    Error while building/deploying project geoeye (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.11.1 for Android armv7))
    When executing step "Build Android APK"
    16:58:05: Elapsed time: 04:30.
    

    1.) Tools/options/devices/android/SDK Manager everthing seems ok:
    "Android settings are OK. (SDK Version 25.2.5, NDK Version: 10.4.0)"

    2.) I installed all SDK Tool versions with the SDK Manager sdk-24.4.1

    Why does Android Settings show SDK 25.2.5 and Build failure 24.0.1?

    Does maybe anyone know whats going wrong here?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      PowerNow
      wrote on 6 Jul 2018, 06:51 last edited by PowerNow 7 Jun 2018, 06:52
      #2

      For others you have the same problem. I solved this issue by completely replaced all android files of the project.

      1. Delete your Build
      2. Delete the Android folder of your project
      3. Projects/Build Android APK/Create Templates
      1 Reply Last reply
      3

      1/2

      5 Jul 2018, 15:50

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved