El Constructorr's Forum Posts

  • 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:

  • Update to my "Project Opening" error, SOLVED now:

    It had nothing to do with my project OR C3... rather, I just needed to Update Chrome browser. Not sure why and how, but the project opens now!

  • 1) The link to Bugs Report doesn't work.. It takes me to construct.net

    2) Meanwhile, has anyone else faced problems opening a project? I keep getting:

    I tried changing the project version saved as old, and opening from older to newer C3 versions but no luck. Not sure what has changed recently (I didn't change anything in my project).

    Please help,

    Thanks!

    Tagged:

  • Hi,

    I have a LOT of 9-patch objects in my game and menus. I am now looking to add a "Dark Mode", mostly with 'outlines' of those objects/sprites. For usual Sprites, it is easy to have new Animation or Frames where I can edit the graphics (for dark theme), but how do I do this with my 9-patch objects??

    What's the best approach? (apart from adding a new 9-patch object, which I want to avoid due to already hundreds of events associated with these objects, usually backgrounds)

    I wish 9-patch too had "Animations" or "frames".

    Please help!

    Thanks!

    Tagged:

  • Hi,

    I only purchased the PlayFab bundle. I realised that to sign in through Google (Authentication plugin) for PlayFab, it requires me to input user's serverAuthCode().

    I don't have Chadori's Mobile Bundle.. But I do have Sparsha's Firebase Plugins and I can Sign in through Google.. How can I link that Google's AuthCode to it? (or how can I call getServerAuthCode() in Construct?)

    I tried FirebaseAuthPro.CredentialOnSignIn, but that doesn't work.

    Please help..

    Thanks!

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am trying to open one of my old projects from November 2020, and I get this error:

    This c3p file has always been saved in Google Drive (Cloud), and used to work fine back in those days. I even tried opening from the version it was saved in (r225), and still the same error.

    F12 Console shows these errors:

    I used addons (Firebase Basic, Firebase RD Basic, Firebase SDK, Photon), but I still have those addons in the addon manager.

  • I just faced the exact same problem myself... and figured out how to fix it.

    So the AJAX request needs time to process it (before you could use 'Share' actions).. Simply use a tag on that AJAX request for CanvasSnapshot, e.g. "screenshot"

    Then, in a separate event, AJAX On Complete "screenshot" --> Share actions

  • I agree with dop2000, 95%+ of the time Input Text in games is simply for entering name/usernames/etc, where we do NOT want them to have all functionality (like pasting special characters, etc)

    A Spritefont works great with simple Keyboard events for Append and backspace.

    If anything, InputText object should have a UI properties feature for basic appearance adjustments quickly.

  • You do not have permission to view this post

  • There is no solution.. except use a different (third party) Multiplayer plugin, e.g. Photon

  • On the right Project panel, scroll down to 'Icons', check 'loading-logo.png' already there. That's the C3 logo it uses there. Use anything you want (any resolution).

  • Set Animation: choose("Animation 1", "Animation 2")

    ..and you can have many more, it will select one element at random :)

  • For testing, simply have 'Testing Mode' ticked in Construct MobileAdvert plugin properties, and then use your own App ID and your own app's corresponding Ad Unit IDs*.

    When the Ad appears, it would only show Test Ads (and it will mention Test Ad on the Ad, so you'll know).

    *If you haven't created an App on Admob, you can go ahead and create an App and then its Ad units, even if the app is not published yet.

  • Well in that case please do check Unit IDs again.

    The reason I feel it's wrong is because both: App ID and Unit ID always have the first set of Numbers common before the hyphen, e.g.:

    Android App ID: ca-app-pub-XXXSAMEXXX-BLABLABLABLA

    Ad Unit ID: ca-app-pub-XXXSAMEXXX-SOMETHINGELSE

    Whereas I can see in your screenshots, App ID started from 0308.. and unit ID started from 3940..

    Definitely the IDs mismatch in your case. Maybe using a wrong App in Admob?

  • I just noticed the problem from your first screenshot.. You're using a wrong App ID.

    The first part of numbers always match with the Unit IDs, whereas yours don't. So please check on Admob, click on Ad Units, then 'Implementation Instructions' to see the App ID and Unit ID again.