Android Debug APK export fails on a blank project in r506.4 — AAPT2 daemon startup failed

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
The perfect way to start development of multiplayer games
  • Hi,

    On November 20, 2026, my Android Debug APK export failed in Construct 3 r506.4. I reproduced the same error with a new blank project using the Construct Build Service. Both builds failed at :app:processDebugResources with the same AAPT2 version and error message.

    Steps to reproduce

    1. Create a new empty project in Construct 3 r506.4.

    2. Fill in the required Android export metadata, including a valid application ID such as com.example.blankandroidtest.

    3. Leave the default layout and event sheet empty. No objects, events, or third-party addons are needed.

    4. Select Menu → Project → Export → Android (Cordova), choose Debug APK, and start the build.

    Expected result

    The Build Service produces a downloadable Debug APK.

    Actual result

    The Build Service reaches Building Android and then reports Build failed. The blank project produced this log excerpt:

    WARNING: platform-tools package is not installed, and automatic installation failed.

    Task :app:processDebugResources FAILED

    Execution failed for task ':app:processDebugResources'.

    AAPT2 aapt2-8.10.1-12782657-linux Daemon #0: Daemon startup failed

    The Construct status page showed the Build Service as operational when I checked. Could you check whether there’s an issue starting AAPT2 on the Android build workers?

    Thanks!

  • Error: Checking Java JDK and Android SDK versions

    ANDROID_HOME=~~/androidSDK (recommended setting)

    ANDROID_SDK_ROOT=undefined (DEPRECATED)

    Using Android SDK: ~~/androidSDK

    Task :wrapper

    BUILD SUCCESSFUL in 1s

    1 actionable task: 1 executed

    Subproject Path: CordovaLib

    Subproject Path: app

    [========= ] 25% [========= ] 25% Fetch remote repository... [=======================================] 100% Fetch remote repository...

    Checking the license for package Android SDK Platform-Tools in ~~/licenses

    License for package Android SDK Platform-Tools accepted.

    Preparing "Install Android SDK Platform-Tools v.37.0.3".

    Warning: Failed to read or create install properties file.

    WARNING: platform-tools package is not installed, and automatic installation failed.

    Task :app:preBuild UP-TO-DATE

    Task :app:preDebugBuild UP-TO-DATE

    Task :app:mergeDebugNativeDebugMetadata NO-SOURCE

    Task :app:generateDebugBuildConfig

    Task :app:javaPreCompileDebug

    Task :CordovaLib:preBuild UP-TO-DATE

    Task :CordovaLib:preDebugBuild UP-TO-DATE

    Task :CordovaLib:writeDebugAarMetadata

    Task :app:checkDebugAarMetadata

    Task :app:generateDebugResValues

    Task :CordovaLib:generateDebugResValues

    Task :CordovaLib:generateDebugResources

    Task :CordovaLib:packageDebugResources

    Task :app:mapDebugSourceSetPaths

    Task :app:generateDebugResources

    Task :app:mergeDebugResources

    Task :app:packageDebugResources

    Task :app:parseDebugLocalResources

    Task :app:createDebugCompatibleScreenManifests

    Task :app:extractDeepLinksDebug

    Task :CordovaLib:extractDeepLinksDebug

    Task :CordovaLib:processDebugManifest

    Task :app:processDebugMainManifest

    Task :app:processDebugManifest

    Task :app:processDebugManifestForPackage

    Task :CordovaLib:compileDebugLibraryResources

    Task :CordovaLib:parseDebugLocalResources

    Task :CordovaLib:generateDebugRFile

    Task :app:processDebugResources FAILED

    24 actionable tasks: 24 executed

    Running as unit: run-r8fa627a66e894494971b15c8bd76f64e.scope; invocation ID: a7cd5e92e0e345429de3bee26d926daf

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':app:processDebugResources'.

    A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction

    AAPT2 aapt2-8.10.1-12782657-linux Daemon #0: Daemon startup failed

    This should not happen under normal circumstances, please file an issue if it does.

    * 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 2s

    Command failed with exit code 1: ~~/gradlew cdvBuildDebug

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I just tried this and the build service is working normally for me - perhaps there was an intermittent issue that resolved itself. Is it working for you now?

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)