User Tag List

Results 1 to 8 of 8

Thread: Android Google Maps causing build error

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Feb 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Android Google Maps causing build error

    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\buil d.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\goog le-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\an t\build.xml:573: Jar mismatch! Fix your dependencies

    Total time: 1 second

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,745
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    weird what version of runtime are you using?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Feb 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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).

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Feb 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,745
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    problem is that using new devices 6.0 to above bring different behavior and block this object because new system permission and you need at least betas we are working on updates though.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Feb 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  7. #7
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,745
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    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.

    https://dl.dropboxusercontent.com/u/49201338/GMaps.zip

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


    Fernando Vivolo

    ... new things are coming ...

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Feb 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

Similar Threads

  1. Replies: 56
    Last Post: 26th December 2017, 09:53 PM
  2. Build Error: Found 2 versions of google-play-services.jar
    By Power2r in forum Android Export Module 2.5
    Replies: 3
    Last Post: 15th February 2016, 07:15 PM
  3. Google Maps extension. como posso usa a extensão Google Maps?
    By marcorios7 in forum Android Export Module 2.5
    Replies: 7
    Last Post: 7th November 2015, 09:01 AM
  4. Google Maps
    By Fernando in forum Android Extensions
    Replies: 6
    Last Post: 12th August 2014, 12:25 AM
  5. Google Maps
    By Stephen in forum SWF/Flash Extensions
    Replies: 0
    Last Post: 17th May 2011, 05:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •