How to Update Fusion's Gradle Plugin?

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.
  • Trying to update my little android game I released last winter to comply with Google Play Store's version requirements.

    And I'm running into trouble :S

    Every time I try to export I get a warning that my Gradle Plugin is out-of-date, then the build fails.


    I updated and then reinstalled Android studio. I updated my gradle plugin in Android Studio to 8.6 but that seems to be project-specific? Is there somewhere else to update the gradle Fusion uses?

    In my Fusion android settings my minimum version requirement is 6 and my target is 35, I installed SDK 35 and the SDK 35 tools in Android Studio, and checked my SDK and JDK targets in Fusion preferences.


    Full Error Report:

    WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 35

    This Android Gradle plugin (7.4.2) was tested up to compileSdk = 33

    This warning can be suppressed by adding
    android.suppressUnsupportedCompileSdk=35
    to this project's gradle.properties

    The build will continue, but you are strongly encouraged to update your project to
    use a newer Android Gradle Plugin that has been tested with compileSdk = 35
    > Task :app:preBuild UP-TO-DATE
    > Task :app:preReleaseBuild UP-TO-DATE
    > Task :app:compileReleaseRenderscript NO-SOURCE
    > Task :app:generateReleaseResValues
    > Task :app:mapReleaseSourceSetPaths
    > Task :app:generateReleaseResources
    > Task :app:createReleaseCompatibleScreenManifests
    > Task :app:extractDeepLinksRelease
    > Task :app:processReleaseMainManifest
    > Task :app:processReleaseManifest
    > Task :app:processApplicationManifestReleaseForBundle
    > Task :app:checkReleaseDuplicateClasses
    > Task :app:compileReleaseAidl NO-SOURCE
    > Task :app:generateReleaseBuildConfig
    > Task :app:javaPreCompileRelease
    > Task :app:checkReleaseAarMetadata
    > Task :app:mergeReleaseResources
    > Task :app:mergeReleaseShaders
    > Task :app:compileReleaseShaders NO-SOURCE
    > Task :app:generateReleaseAssets UP-TO-DATE
    > Task :app:mergeReleaseAssets
    > Task :app:processReleaseJavaRes NO-SOURCE
    > Task :app:processReleaseManifestForPackage
    > Task :app:desugarReleaseFileDependencies
    > Task :app:mergeReleaseJniLibFolders
    > Task :app:mergeReleaseJavaResource
    > Task :app:bundleReleaseResources FAILED
    > Task :app:processReleaseResources FAILED
    > Task :app:mergeExtDexRelease

    FAILURE: Build completed with 2 failures.

    1: Task failed with an exception.
    -----------
    * What went wrong:
    Execution failed for task ':app:bundleReleaseResources'.
    > A failure occurred while executing com.android.build.gradle.internal.res.Aapt2ProcessResourcesRunnable
    > Android resource linking failed
    aapt2.exe E 08-28 12:13:49 1240 13052 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
    aapt2.exe E 08-28 12:13:49 1240 13052 ApkAssets.cpp:149] Failed to load resources table in APK 'C:\Users\default.DESKTOP-K2GDCM3\AppData\Local\Android\Sdk\platforms\android-35\android.jar'.
    error: failed to load include path C:\Users\default.DESKTOP-K2GDCM3\AppData\Local\Android\Sdk\platforms\android-35\android.jar.


    * 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.
    ==============================================================================

    2: Task failed with an exception.
    -----------
    * What went wrong:
    Execution failed for task ':app:processReleaseResources'.
    > A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
    > Android resource linking failed
    aapt2.exe E 08-28 12:13:49 5680 4900 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
    aapt2.exe E 08-28 12:13:49 5680 4900 ApkAssets.cpp:149] Failed to load resources table in APK 'C:\Users\default.DESKTOP-K2GDCM3\AppData\Local\Android\Sdk\platforms\android-35\android.jar'.
    error: failed to load include path C:\Users\default.DESKTOP-K2GDCM3\AppData\Local\Android\Sdk\platforms\android-35\android.jar.


    * 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 Please login to see this link.

    BUILD FAILED in 5s
    21 actionable tasks: 21 executed

    Edited once, last by Jyrkface (September 4, 2024 at 7:36 PM).

  • but with SDK34 I still get this error message by uploading my aab-file:

    Aktualisiere deine com.google.android.play:core:1.10.3-Maven-Abhängigkeit auf eine mit Android 14 kompatible Version. Deine aktuelle com.google.android.play:core:1.10.3-Bibliothek ist nicht mit targetSdkVersion 34 (Android 14) kompatibel, da durch diese Version eine abwärtsinkompatible Änderung bei Übertragungsempfängern eingeführt wurde. Wir möchten dich daran erinnern, dass ab dem 31. August 2024 alle neuen App-Releases bei Google Play auf Android 14 ausgerichtet sein müssen. Aktualisiere die Abhängigkeit auf die neueste Version der Bibliothek, um App-Abstürze zu vermeiden.

  • i have the same problem

    Android studio latest installed ,and patched with Android SDK patcher.


    Could not open settings generic class cache for settings file 'C:\Users\Andre\AppData\Local\Temp\And9AE4.tmp\settings.gradle' (C:\Users\Andre\.gradle\caches\7.5\scripts\8iuhe6lvijlq47nwuo3sma8lq).
    > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 67


    could someone Help.

    i am new to this ,maybe a little tutorial how to install all the SDK and JDK stuff ,and what to do for the Android output.

    And maybe how to use the build and Run over wifi to test stuff on the phone ..

    maybe the path is wrong ? set the path to Android Studio Folder or do i have to another path?

    Thanks

  • Your minimum version should be 5.0 (Fusion still defaults to 4.4).

    Your maximum version for build API should be 34.

    Target should be: 14.0

    Path for the SDK is: C:\Users\MYNAME\AppData\Local\Android\Sdk

    Path for the JDK depends on whether you're using Android or installed it directly from Oracle.

    Unfortunately, I don't know what the path is for the Android Studio version (I had tried several a few years ago but couldn't manage to build an APK until I installed Java directly).

    Installing Java worked for me because I don't use any special extensions. Apparently it doesn't work for everyone.

    Casual games: Please login to see this link.

  • Janette 5 how did you make Android games you have at Amazon ?

    and i cannot play your game from Amazon cause i´m from germany,,very Bad!

    to my problem.

    i have set the path to the Sdk at appdata and i have installed the jdk from oracle and set the path in clickteam Fusion..!

    Could not open settings generic class cache for settings file 'C:\Users\Andre\AppData\Local\Temp\And9AE4.tmp\settings.gradle' (C:\Users\Andre\.gradle\caches\7.5\scripts\8iuhe6lvijlq47nwuo3sma8lq).
    > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 67

    is there no tutorial how to setup Android in clickteam Fusion correctly for the Actual Android Studio version? :-((


    greets

  • My apps on Amazon were made in CENSORED, Clickteam Fusion and CENSORED. You don't need a special plugin for a free or paid app, Amazon "wraps" the ordinary app itself. The apps with IAP, I wrote in CENSORED. The apps are published across all the Amazon stores. I checked, they are on Amazon.de.

    My apps will build if I use these settings:

    C:\Program Files\Java\jdk-11

    C:\Users\NAME\AppData\Local\Android\Sdk


    and also if I use these settings:

    C:\Program Files\Android\Android Studio\jbr

    C:\Users\NAME\AppData\Local\Android\Sdk


    You can try to build an .apk using a blank file (Just open an .mfa - change the Android settings and build it.)

    If it builds, then it's one of your extensions causing problems for you. If it doesn't build, try reinstalling Android Studio.

    Edit: I couldn't post this with the names of the other software typed out. I got a message their names are censored. Unbelievable. Their names are on my website under Contact Details.

    Casual games: Please login to see this link.

  • hi Janette .


    Amazon tell me this:Tut uns leid

    Aufgrund von geographischen Beschränkungen bist du nicht zum Kauf dieser App berechtigt.


    In English: Sorry

    Due to geographical restrictions, you are not eligible to purchase this app.


    the other info you gave me i will test in the next days ..

    thanks for help


    greets

  • I am Kamal Yassin from Palestine, subscribed to all programs
    Fusion 2.5 Developer

    Android Exporter

    HTML5 Exporter

    iOS Exporter

    Flash Exporter

    Unicode Exporter
    My computer and everything related to your programs were destroyed in a car accident.. and I no longer have any serial numbers for these programs. You know me from a long time ago, I used to ask you a lot

    user name: kemo
    How do I retrieve the serial numbers of the programs again?
    I saved them on the site
    Please help me
    With my best wishes

Participate now!

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