How do I get my android bundle build working again?

0 favourites
  • 4 posts
From the Asset Store
_______ Huge collection of metal fixtures ________
  • Hello all!

    Im trying to export my app to and android signed bundle already done it about 10 times for this app never had a problem before, but now I get a error with a log.. have been seaching on the forum for help but nothing have been helping yet.

    I use construct 3 version: r285.3 and use plugins from "construct master collection" the version are 33.0.

    Log:

    Error: Checking Java JDK and Android SDK versions

    ANDROID_SDK_ROOT=~~/androidSDK (recommended setting)

    ANDROID_HOME=~~/androidSDK (DEPRECATED)

    Using Android SDK: ~~/androidSDK

    The project name 'Wheel Of Colors' contains at least one of the following characters: [ , /, \, :, <, >, ", ?, *, |]. This has been deprecated and is scheduled to be removed in Gradle 5.0. Set the 'rootProject.name' or adjust the 'include' statement (see https:/~~/org.gradle.api.initialization.Settings.html#org.gradle.api.initialization.Settings:include(java.lang.String[]) for more details).

    at cdv_gradle_name_c8usth3ws55ctmqyomahterqj.run(~~/cdv-gradle-name.gradle:2)

    (Run with --stacktrace to get the full stack trace of this deprecation warning.)

    :wrapper

    BUILD SUCCESSFUL in 0s

    1 actionable task: 1 executed

    Subproject Path: CordovaLib

    Subproject Path: app

    Configure project :app

    WARNING:: Using flatDir should be avoided because it doesn't support any meta-data formats.

    Task :app:preBuild UP-TO-DATE

    Task :app:preReleaseBuild UP-TO-DATE

    Task :app:writeReleaseApplicationId

    Task :app:analyticsRecordingRelease

    Task :CordovaLib:preBuild UP-TO-DATE

    Task :CordovaLib:preReleaseBuild UP-TO-DATE

    Task :CordovaLib:packageReleaseRenderscript NO-SOURCE

    Task :app:compileReleaseRenderscript NO-SOURCE

    Task :app:generateReleaseResValues

    Task :app:generateReleaseResources

    Task :CordovaLib:compileReleaseRenderscript

    Task :CordovaLib:generateReleaseResValues

    Task :CordovaLib:generateReleaseResources

    Task :CordovaLib:packageReleaseResources

    Task :app:createReleaseCompatibleScreenManifests

    Task :app:extractDeepLinksRelease

    Task :CordovaLib:extractDeepLinksRelease

    Task :CordovaLib:processReleaseManifest

    Task :app:processReleaseMainManifest

    Task :app:processReleaseManifest

    Task :app:processApplicationManifestReleaseForBundle

    Task :CordovaLib:compileReleaseLibraryResources

    Task :CordovaLib:compileReleaseAidl NO-SOURCE

    Task :CordovaLib:generateReleaseBuildConfig

    Task :CordovaLib:parseReleaseLocalResources

    Task :CordovaLib:generateReleaseRFile

    Task :CordovaLib:javaPreCompileRelease

    Task :CordovaLib:compileReleaseJavaWithJavac

    Task :CordovaLib:bundleLibRuntimeToJarRelease

    Task :app:checkReleaseDuplicateClasses

    Task :app:compileReleaseAidl NO-SOURCE

    Task :app:generateReleaseBuildConfig

    Task :app:javaPreCompileRelease

    Task :CordovaLib:writeReleaseAarMetadata

    Task :app:checkReleaseAarMetadata FAILED

    Task :app:mergeReleaseResources

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

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

    See https:/~~/command_line_interface.html#sec:command_line_warnings

    26 actionable tasks: 26 executed

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':app:checkReleaseAarMetadata'.

    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction

    The minCompileSdk (31) specified in a

    dependency's AAR metadata (~~/aar-metadata.properties)

    is greater than this module's compileSdkVersion (android-30).

    Dependency: androidx.work:work-runtime:2.7.0.

    AAR metadata file: ~~/aar-metadata.properties.

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

    Command failed with exit code 1: ~~/gradlew :app:bundleRelease -b ~~/build.gradle

    Hope someone can help me.

    Will send more information if needed.

  • This is the important part:

    I would suggest removing addons one by one and trying to build the app. (make a backup copy of the project of course). Once you find which addon is causing the problem, you can contact Chadori on discord and ask for help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nice one. Gonna try that right away thanks for the help with decoding the logfile.

  • Hi YianPanda,

    It seems you've updated the default SDK and adapter versions I've set, which is found in the plugin properties window.

    I think you've accidentally set some plugins to the Android 12 SDK versions (Target 31) which isn't available for Cordova Android and Construct 3 yet. The new versions are only in-preparation for Android 12 support for plugins in the Construct Master Collection, for example the Mobile IronSource Collection's mobile ad-network plugins.

    The current version available for Cordova Android and Construct 3 is still Android 11, which is the default plugin property for plugins right now. If you would like to revert back to Android 11 values, please refer to the image below.

    I hope that helps.

    If that doesn't work, please let me know in the Discord Community for realtime technical support. Thank you.

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