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.
Application.ccn to separate .obb file
What about the function that will create application.ccn in a separate obb file, and not in apk?
Step by step Guide please
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.
Originally Posted by GKProduction
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.