Construct 3 Debug APK Export Failing – AAPT2 Daemon Startup Failed (processDebugResources Error)

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Hello everyone,

    I’m facing an issue while exporting a Debug APK from Construct 3 (Cordova build). The build fails during the processDebugResources step with the following error:

    Execution failed for task ':app:processDebugResources'.

    A failure occurred while executing LinkApplicationAndroidResourcesTask$TaskAction

    AAPT2 aapt2-8.7.3-12006047-linux Daemon #0: Daemon startup failed

    This should not happen under normal circumstances.

    Complete log also shows:

    Deprecated Gradle features

    ANDROID_HOME is set correctly but ANDROID_SDK_ROOT is undefined

    Build stops at :app:processDebugResources

    AAPT2 daemon fails to start

    Here is the snippet:

    ANDROID_HOME=~/androidSDK

    ANDROID_SDK_ROOT=undefined

    Using Android SDK: ~/androidSDK

    Task :app:processDebugResources FAILED

    AAPT2 Daemon startup failed

    BUILD FAILED in 2s

    Command failed with exit code 1: ./gradlew cdvBuildDebug

    My Setup:

    Construct 3: latest stable build

    Cordova Android version: (default used by C3)

    OS: Linux

    JDK: OpenJDK 11

    Android SDK downloaded manually

    What I tried:

    Reinstalled Android SDK + platform-tools

    Verified ANDROID_HOME

    Tried different JDK versions

    Cleaned project and re-exported from Construct 3

    Tried enabling --warning-mode all (same error)

    Issue:

    AAPT2 daemon startup keeps failing, causing the entire build to stop at processDebugResources.

    Question:

    Does anyone know what typically causes AAPT2 Daemon startup failure on Construct 3 / Cordova builds?

    Is this related to missing build-tools version, JDK version mismatch, or some broken SDK folder?

    What is the correct setup for Construct 3 Cordova Android build on Linux?

    Any help would be really appreciated. Thanks!

  • The build server had a technical issue that meant builds were not working. We've now corrected this and it should be working normally again. Apologies for the inconvenience.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you for the quick update and for resolving the issue.

    Really appreciate the prompt support — the build system is working fine now.

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