Android Google Maps causing build error

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello, building has been perfectly fine for my app (managed to get the Google Play Games Objects working without build errors too which I was very happy about!) until I tried to add the Android Google Maps object (installed from the Extensions manager). Now it fails to build with this error. Removing the Google Maps object allows building again, so I am sure this extension is at fault. Any way to get this working, or is there an alternate method to google maps integration?
    Thanks!

    Buildfile: C:\Users\Peter\AppData\Local\Temp\And9A27.tmp\build.xml

    -set-mode-check:

    -set-release-mode:

    -release-obfuscation-check:
    [echo] proguard.config is ${proguard.config}

    -pre-build:

    -check-env:
    [checkenv] Android SDK Tools Revision 25.0.5
    [checkenv] Installed at C:\Users\Peter\AppData\Local\Android\sdk1

    -setup:
    [echo] Project Name: RuntimeAndroid
    [gettype] Project Type: Application

    -build-setup:
    [getbuildtools] Using latest Build Tools: 23.0.2
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 5.1.1
    [gettarget] API level: 22
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\And9A27.tmp\bin
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\And9A27.tmp\bin\res
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\And9A27.tmp\bin\rsObj
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\And9A27.tmp\bin\rsLibs
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\And9A27.tmp\gen
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\And9A27.tmp\bin\classes
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\And9A27.tmp\bin\dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for RuntimeAndroid...
    [dependency] Library dependencies:
    [dependency]
    [dependency] ------------------
    [dependency] Ordered libraries:
    [dependency]
    [dependency] ------------------
    [dependency] Found 2 versions of google-play-services.jar in the dependency list,
    [dependency] but not all the versions are identical (check is based on SHA-1 only at this time).
    [dependency] All versions of the libraries must be the same at this time.
    [dependency] Versions found are:
    [dependency] Path: C:\Users\Peter\AppData\Local\Temp\And9A27.tmp\google-play-services_lib\libs\google-play-services.jar
    [dependency] Length: 3508206
    [dependency] SHA-1: 9b63d9aba531aa7ff5dd30e0c872e8ca550b363a
    [dependency] Path: C:\Users\Peter\AppData\Local\Temp\And9A27.tmp\libs\google-play-services.jar
    [dependency] Length: 2264484
    [dependency] SHA-1: 3dfdf1db5ce5ea2999a5dcde8c8e650b02660059

    BUILD FAILED
    C:\Users\Peter\AppData\Local\Android\sdk1\tools\ant\build.xml:573: Jar mismatch! Fix your dependencies

    Total time: 1 second

  • Hi Fernando, thanks for responding.
    I believe you mean Android runtime, but I don't know where to find this version number that you need. Please let me know and I'll get it on here asap.
    Another problem I've found is that the Web View Object freezes up my app on android (loading into a frame that contains the object) but plays fine when previewing on Windows. Not sure if related.

    Other numbers that might be useful: Java is jdk1.8.0_73, Clickteam Fusion Developer 2.5 is build R284.10, Android Build API is 22 (in Android Studio I can see that under API 22, SDK platform is Rev. 2 and the Google APIs is Rev. 1, neither offering updates).

  • Oh and regarding that Web View Object issue, I'm testing on my Xperia Z5 Compact, which is android 6.0.
    I also have a Nexus 9 running the preview build of Android N. On both devices, navigating to a frame that contains a Web View Object hangs the app (doesn't even show the new frame).

    UPDATE: The Nexus 9 is actually loading the frame after waiting for a few minutes, but the app becomes unresponsive. Web View Object used to work for me in the past.

    Edited once, last by peda: Updated with new information that contradicts the original post (March 31, 2016 at 12:14 PM).

  • That makes sense. They do release these things so quickly, and I am familiar with the new permissions methods used by newer Android versions.

    How about the not being able to build issue? This doesn't involve an Android device, and you asked for a runtime version from me, but I don't know where exactly to get that from if it wasn't in the log that I posted.

  • this is related that all extension and the runtime have to have the same google lib version and you are using a new object in a old runtime 284.1 many lib version have come out, they are revisiting and fixing bug and improving performance daily sometime.

    Please login to see this link.

    this is the version that was post during this version, try and let me know.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • I tried to install the extension that you linked to, but I can't uninstall the previous google maps extension, it says "you cannot install or uninstall an extension that is currently being used by an application" even though the extension is no longer used in any of the project's frames.

    An installation just requires me to unzip that to the main Clickteam Fusion 2.5 folder, right?

    *EDIT
    I closed the project, removed the extension, (I made sure that it wasn't even in the Data Elements menu) then reinstalled the extension you posted. No difference, still receiving the same build error.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!