Compilation error Android

Not favoritedFavorited Favorited 0 favourites
  • 2 posts
From the Asset Store
7 Errors
$15 USD
7 Errors is a game where you have to find the 7 mistakes before time runs out. Can you find all 7? Have fun looking.
  • Hello,

    Today I went to compile another of my games for the Google Play Store to update the API version to 35. I was surprised to see that when it reached the end of the compilation, it produced an error:

    --------------------------------------

    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

    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

    [Incubating] Problems report is available at: file://~~/problems-report.html

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

    You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

    For more on this, please refer to https:/~~/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

    24 actionable tasks: 24 executed

    Running as unit: run-r86f980a4fdb412a9d97baaf70.scope; invocation ID: 4a1c91fb646645f2154400bcb7cb47b

    (node:766015) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.

    (Use `node --trace-deprecation ...` to show where the warning was created)

    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.7.3-12006047-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

    ---------------------------------------

    After this, I tried compiling other games that I updated about two weeks ago, and these compiled correctly and are uploaded and updated in the Google Play Store also gave the same error. So, I've come to the conclusion that it's not a problem with my game using third-party resources, since it doesn't compile either the game I tried to upload or the ones that were compiled two weeks ago and are uploaded. I also tried opening another browser (Firefox) and compiling there, but the result was the same.

    It seems to be a server or construct issue. Is this happening to anyone else?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This was also reported here, but by the time it checked it was working for me. Is it working now?

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