User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 35

Thread: Android Runtime - Build 292

  1. #1
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    12,692
    Mentioned
    47 Post(s)
    Tagged
    2 Thread(s)

    Android Runtime - Build 292

    The Android runtime provided with the build 292 update patch has been updated to work with Gradle, it doesn't need Ant anymore, i.e. it will work with the latest Android Studio without you to have to patch it with Ant files, unlike the previous version.

    What do you need to install

    + You should install the latest version of Android Studio and then get the Android SDK pathname from the Android Studio settings screen as shown in this file and paste it in the Android SDK Pathname box in the preferences of Fusion (General tab).

    + It is recommended that you install the 64-bit version the JDK 8 if it's not already installed, if you get "out of memory" error messages in the build log (note: you need the 32-bit version too only if you use the Flash exporter).

    Possible errors the first time you build an application and/or you use a new API

    + Gradle automatically downloads the libraries and build tools it needs, however it doesn't ask you for accepting licenses. If you get an error message that says "License for package XXXXX not accepted.", do this:

    1. open an explorer window and go to the Android SDK folder (usually C:\Users\YourName\AppData\Local\Android\Sdk)
    2. open the tools/bin sub-directory
    3. open a command prompt window in this directory and type "sdkmanager --licenses" (or sdkmanager --update for old versions of the SDK), this will allow you to review and accept the licenses of the downloaded files. You can also simply open the SDK Manager and update the build API/Tools, this may work.

    Note: the directory structure of the source files in the Android zip files for Gradle is different. If you use 3rd party extensions that aren't updated, Fusion will try to automatically convert it to Gradle. This works with simple extensions, but could fail for more complex ones. In this case, you'll have to wait for the developer to release an update.

    For example if you got Android extensions from Click Store, check if there are new versions of these extensions, compatible with Gradle. You'll have to do this for example if you use GPG extensions and you get a "xxx is not a zip file" error message while building your application.

    + AdMob: another change in the build 292 is that the AdMob object has now 2 separate App IDs for Android and iOS. The first time you build an application with the build 292 make sure the Android App ID in the settings of the AdMob object is set to the correct value, otherwise your app will crash.

    + Build API: use preferably build API 28+ for building your applications.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall CreatorInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2006
    Posts
    1,090
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you Yves, is this new engine take more performances of finals apps ?

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2017
    Location
    France
    Posts
    49
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    thanks for the clear explanations

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    12,692
    Mentioned
    47 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by Xenon3000 View Post
    Thank you Yves, is this new engine take more performances of finals apps ?
    Using Gradle instead of Ant doesn't change anything (AFAIK).

    The Android runtime benefits from the "Optimize events" option of 2.5+ though this might not have a significant impact (this depends on the applications). There are other optimizations we made specifically for the Windows runtime, we'll port them to the other runtimes in the next builds.

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    GKProduction's Avatar
    Join Date
    Aug 2017
    Location
    Russia, Kostroma
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb Application.ccn to separate .obb file

    What about the function that will create application.ccn in a separate obb file, and not in apk?

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Fuuriokun's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    229
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    This sounds interesting, GKProduction

  7. #7
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    5,745
    Mentioned
    98 Post(s)
    Tagged
    2 Thread(s)
    the Android OBB object work also with this version
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    GKProduction's Avatar
    Join Date
    Aug 2017
    Location
    Russia, Kostroma
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, this method is very uncomfortable

  9. #9
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2018
    Location
    UK
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Step by step Guide please

    Quote Originally Posted by GKProduction View Post
    Oh, this method is very uncomfortable
    I've tried to follow loads of different online guides but even after uninstalling everything and starting again following these latest instructions I'm still getting build fail when trying to build even an empty application.

    I'm not new to Fusion, I've been using it since Klik n Play but I am new to the Android extension.

    Please can someone put an up to date 'idiots guide' up for people like me who are new to Android as the repeated build fails are very infuriating.

    Thank you.

  10. #10
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    12,692
    Mentioned
    47 Post(s)
    Tagged
    2 Thread(s)
    With the build 292:

    1. Install Android Studio and make sure a recent 64-bit version of JDK 8 is installed.
    2. Report the Android SDK pathname mentioned in the SDK config screen of Android Studio to the General / Android preferences of Fusion.
    3. If you use 3rd party extensions (for example the GPG extensions provided in Clickstore), make sure you install the "Gradle" version of these extensions.
    4. Build your app, with Build API set to 28.
    5. If you get a "Licenses not accepted" error message, follow the instructions in the top post of this thread.

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Users that cannot build with Android Studio (ant\build.xml error)
    By Perry in forum Android Export Module 2.5
    Replies: 77
    Last Post: 16th October 2018, 02:17 PM
  2. Replies: 56
    Last Post: 26th December 2017, 08:53 PM
  3. Cannot build my Android app (ant/build.xml error)
    By oaklan5 in forum Fusion 2.5
    Replies: 1
    Last Post: 27th July 2017, 06:59 PM
  4. Replies: 15
    Last Post: 27th November 2014, 10:08 AM

Posting Permissions

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