Android APK build failed (ant/build.xml missing) | Fusion 2.5 BUILD294.10

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.
  • It seems a frequent problem in the past but after a long-time come-back I installed the latest build of Fusion (R294.10) After installed everything what´s necessary to build APK files I still get the following error message:

    Buildfile: C:\Users\ff87\AppData\Local\Temp\AndE4B9.tmp\build.xml

    BUILD FAILED
    C:\Users\ff87\AppData\Local\Temp\AndE4B9.tmp\build.xml:83: Cannot find C:\Users\ff87\AppData\Local\Android\sdk1\tools\ant\build.xml imported from C:\Users\ff87\AppData\Local\Temp\AndE4B9.tmp\build.xml

    Total time: 0 seconds

    I tried different solutions posted here in the forum (Android Studio, latest version, then older version 2017, different directories for SDK and JDK) but couldn´t manage it. Does anyone has a clearly described instruction how to solve this issue?
    It´s frustrating not to be able to start making some littles apps and testings because of this "little thing".

    Looking forward to hear from you soon.


  • As far as I'm aware, Ant isn't even used by the Android SDK anymore, Gradle is, so I'm not sure why you're getting an Ant-related error.

    First off, you should go back to using the latest version of Please login to see this link. if you aren't already.

    Secondly, make sure that you have both your JDK paths and Android SDK directories defined in the General section of the Preferences menu (this can be found under the Tools section in the top menu bar). I currently have the latest Android studio and Java Development Kit version 1.8.0_202 and things work fine. Anything Please login to see this link. and Please login to see this link. should work for you. Your Android SDK will install to the C:\Users\YOUR_USERNAME\AppData\Local\Android\Sdk directory and the Java JDK (assuming you are on a 64-bit system and installed the 64-bit JDK) will install to the C:\Program Files\Java\jdk+VERSION_NUMBER directory.

    If none of this works, try re-installing the latest Fusion update again by clicking "Check for updates" in the Help section of the top menu bar and confirm that you want to re-download the latest update patch. If you installed the Android exporter after you installed the latest build of Fusion, then the exporter itself may be out-of-date. Re-downloading the update patch updates everything in the program, including installed exporters.

    Please let me know if any of this helps.

    Please login to see this attachment.

  • Thanks for your help.

    Well, I found out that building the apk works when I choose API 29 but the latest one is 33, choosing that leads to errors. What could be the reason? I updated everything via Android Studio.

    Edited 2 times, last by ff87 (January 5, 2023 at 3:12 PM).

  • Thanks for your help.

    Well, I found out that building the apk works when I choose API 29 but the latest one is 33, choosing that leads to errors. What could be the reason? I updated everything via Android Studio.

    I actually get errors when building to API level 33 myself. Could you tell me which version of Java you have installed? I would also try Java JDK 12 and 17 for building to API level 33 if you haven't already.

  • I actually get errors when building to API level 33 myself. Could you tell me which version of Java you have installed? I would also try Java JDK 12 and 17 for building to API level 33 if you haven't already.

    Hi , i've updated Android Studio and then have the same problem, i used JDK 11 and it's working now with API 33; 4.4 mini and target 12.0
    Please login to see this attachment.

    Regards

    Edited once, last by Gigatron (January 18, 2023 at 5:28 PM).

Participate now!

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