Build Failed - Exporting to Android

Not favoritedFavorited Favorited 0 favourites
  • 2 posts
From the Asset Store
Dramatic cinematic track for trailers, tension builds, emotional reveals, and high-stakes scenes
  • I have been getting Build Failed (see below) since 2 days now, and unable to fix it. I use C3 Build 495.2 Stable (and didn't change it recently).

    This is when I try to Export to Android Cordova for Android Signed App Bundle, that used to work fine and I don't remember changing much or adding anything new in my game.

    I have already tried:

    • Updating Browser, clearing browser cache, etc
    • Tried exporting on my Android phone C3 app, same error
    • Fixed Z-Axis Normalized to Regular

    The third part Add-ons I use are:

    1) Open AI Chat Completion

    2) Firebase Auth Basic (by Sparsha)

    3) Firebase Real-time Database Pro

    Log Copy pasted below:

    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.1".

    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:preReleaseBuild UP-TO-DATE

    Task :app:generateReleaseResValues

    Task :CordovaLib:preBuild UP-TO-DATE

    Task :CordovaLib:preReleaseBuild UP-TO-DATE

    Task :CordovaLib:generateReleaseResValues

    Task :CordovaLib:generateReleaseResources

    Task :CordovaLib:packageReleaseResources

    Task :app:mapReleaseSourceSetPaths

    Task :app:generateReleaseResources

    Task :app:mergeReleaseResources

    Task :app:createReleaseCompatibleScreenManifests

    Task :app:extractDeepLinksRelease

    Task :CordovaLib:extractDeepLinksRelease

    Task :CordovaLib:processReleaseManifest

    Task :app:processReleaseMainManifest

    Task :app:processReleaseManifest

    Task :app:processApplicationManifestReleaseForBundle

    Task :CordovaLib:writeReleaseAarMetadata

    Task :app:checkReleaseAarMetadata

    Task :app:packageReleaseResources

    Task :app:parseReleaseLocalResources

    Task :app:processReleaseManifestForPackage

    Task :CordovaLib:compileReleaseLibraryResources

    Task :CordovaLib:parseReleaseLocalResources

    Task :CordovaLib:generateReleaseRFile

    Task :app:processReleaseResources

    Task :app:bundleReleaseResources

    Task :app:extractReleaseVersionControlInfo

    Task :CordovaLib:javaPreCompileRelease

    Task :CordovaLib:compileReleaseJavaWithJavac

    Task :CordovaLib:bundleLibRuntimeToDirRelease

    Task :app:checkReleaseDuplicateClasses

    Task :app:generateReleaseBuildConfig

    Task :app:javaPreCompileRelease

    Task :CordovaLib:bundleLibCompileToJarRelease

    Task :app:compileReleaseJavaWithJavac FAILED

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

    33 actionable tasks: 33 executed

    Running as unit: run-r0c04bf2c2ecf4f34a82ec77d519fc931.scope; invocation ID: a913757428834b2f9e77a956419fb791

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

    Note: Recompile with -Xlint:deprecation for details.

    ~~/GooglePlus.java:15: error: cannot find symbol

    import com.google.android.gms.auth.api.signin.GoogleSignInResult;

    ^

    symbol: class GoogleSignInResult

    location: package com.google.android.gms.auth.api.signin

    ~~/GooglePlus.java:313: error: cannot find symbol

    private void handleSignInResult(final GoogleSignInResult signInResult) {

    ^

    symbol: class GoogleSignInResult

    location: class GooglePlus

    ~~/GooglePlus.java:91: error: cannot find symbol

    handleSignInResult(Auth.GoogleSignInApi.getSignInResultFromIntent(intent));

    ^

    symbol: variable GoogleSignInApi

    location: class Auth

    ~~/GooglePlus.java:200: error: cannot find symbol

    .addApi(Auth.GOOGLE_SIGN_IN_API, gso.build());

    ^

    symbol: variable GOOGLE_SIGN_IN_API

    location: class Auth

    ~~/GooglePlus.java:214: error: cannot find symbol

    Intent signInIntent = Auth.GoogleSignInApi.getSignInIntent(this.mGoogleApiClient);

    ^

    symbol: variable GoogleSignInApi

    location: class Auth

    ~~/GooglePlus.java:225: error: cannot find symbol

    handleSignInResult(Auth.GoogleSignInApi.silentSignIn(this.mGoogleApiClient).await());

    ^

    symbol: variable GoogleSignInApi

    location: class Auth

    ~~/GooglePlus.java:241: error: cannot find symbol

    Auth.GoogleSignInApi.signOut(this.mGoogleApiClient).setResultCallback(

    ^

    symbol: variable GoogleSignInApi

    location: class Auth

    ~~/GooglePlus.java:269: error: cannot find symbol

    Auth.GoogleSignInApi.revokeAccess(this.mGoogleApiClient).setResultCallback(

    ^

    symbol: variable GoogleSignInApi

    location: class Auth

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

    Note: Recompile with -Xlint:deprecation for details.

    Note: ~~/ConstructPlayGames.java uses unchecked or unsafe operations.

    Note: Recompile with -Xlint:unchecked for details.

    8 errors

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':app:compileReleaseJavaWithJavac'.

    Compilation failed; see the compiler output below.

    Note: Recompile with -Xlint:deprecation for details.

    Note: ~~/ConstructPlayGames.java uses unchecked or unsafe operations.

    ~~/GooglePlus.java:15: error: cannot find symbol

    import com.google.android.gms.auth.api.signin.GoogleSignInResult;

    ^

    symbol: class GoogleSignInResult

    location: package com.google.android.gms.auth.api.signin

    ~~/GooglePlus.java:313: error: cannot find symbol

    private void handleSignInResult(final GoogleSignInResult signInResult) {

    ^

    symbol: class GoogleSignInResult

    location: class GooglePlus

    ~~/GooglePlus.java:91: error: cannot find symbol

    handleSignInResult(Auth.GoogleSignInApi.getSignInResultFromIntent(intent));

    ^

    symbol: variable GoogleSignInApi

    location: class Auth

    ~~/GooglePlus.java:200: error: cannot find symbol

    .addApi(Auth.GOOGLE_SIGN_IN_API, gso.build());

    ^

    symbol: variable GOOGLE_SIGN_IN_API

    location: class Auth

    ~~/GooglePlus.java:214: error: cannot find symbol

    Intent signInIntent = Auth.GoogleSignInApi.getSignInIntent(this.mGoogleApiClient);

    ^

    symbol: variable GoogleSignInApi

    location: class Auth

    ~~/GooglePlus.java:225: error: cannot find symbol

    handleSignInResult(Auth.GoogleSignInApi.silentSignIn(this.mGoogleApiClient).await());

    ^

    symbol: variable GoogleSignInApi

    location: class Auth

    ~~/GooglePlus.java:241: error: cannot find symbol

    Auth.GoogleSignInApi.signOut(this.mGoogleApiClient).setResultCallback(

    ^

    symbol: variable GoogleSignInApi

    location: class Auth

    ~~/GooglePlus.java:269: error: cannot find symbol

    Auth.GoogleSignInApi.revokeAccess(this.mGoogleApiClient).setResultCallback(

    ^

    symbol: variable GoogleSignInApi

    location: class Auth

    Note: Recompile with -Xlint:unchecked for details.

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

    8 errors

    * Try:

    Check your code and dependencies to fix the compilation error(s)

    Run with --scan to get full insights.

    BUILD FAILED in 6s

    Command failed with exit code 1: ~~/gradlew :app:bundleRelease

    Tagged:

  • 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 a test build and the build service seems to be working normally for me, so it doesn't at first appearance to be an issue with the server. Does it still reproduce if you remove the third-party addons? If not, it's probably caused by one of them, in which case you'd need to report it to the addon developer.

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