User Tag List

Results 1 to 6 of 6

Thread: Android Plus Object - Build failure 'Unsupported class file major version 57'

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac 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)
    AND's Avatar
    Join Date
    Nov 2013
    Location
    Greece
    Posts
    281
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Android Plus Object - Build failure 'Unsupported class file major version 57'

    Inserting the Android Plus Object in to a frame when using the Android Exporter causes the build process to fail. As soon as I remove the object the build is successful.

    I'm using Android Studio 3.5.3 Build API 29 with CTF Developer 2.5+ Mac Editor build R292.22



    Starting a Gradle Daemon (subsequent builds will be faster)

    FAILURE: Build failed with an exception.

    * Where:
    Build file '/Applications/Clickteam Fusion Developer 2.5.app/Contents/Resources/drive_c/users/Wineskin/Temp/And8f7f.tmp/app/build.gradle'

    * What went wrong:
    Could not compile build file '/Applications/Clickteam Fusion Developer 2.5.app/Contents/Resources/drive_c/users/Wineskin/Temp/And8f7f.tmp/app/build.gradle'.
    > startup failed:
    General error during semantic analysis: Unsupported class file major version 57

    java.lang.IllegalArgumentException: Unsupported class file major version 57

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,423
    Mentioned
    227 Post(s)
    Tagged
    4 Thread(s)
    Just finished to built two examples of androi studio here with no problem.

    this error seems to be related to java sdk?

    what java sdk version you are using, version 292 work well with java sdk embedded in android studio as mentioned here

    https://community.clickteam.com/threads/85407-Build-Failed-Things-to-check/page29?highlight=Android+Studio
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac 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)
    AND's Avatar
    Join Date
    Nov 2013
    Location
    Greece
    Posts
    281
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Thanks for checking Fernando - The Android builds work fine if I don't use the Android Plus Object

    I'm using jdk-13.0.2 on macOS 10.14.6

    I think I'll uninstall Android Studio and Java, then reinstall Android Studio again and see if it fixes it

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,423
    Mentioned
    227 Post(s)
    Tagged
    4 Thread(s)
    Not sure if you can build with java sdk 13 now, but normally they use is a modified version 8.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac 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)
    AND's Avatar
    Join Date
    Nov 2013
    Location
    Greece
    Posts
    281
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Thanks - I'll try that

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac 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)
    AND's Avatar
    Join Date
    Nov 2013
    Location
    Greece
    Posts
    281
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much Fernando! As you suggested, the problem was due to the wrong Java SDK version.

    I uninstalled version 13 and installed jdk1.8.0_241

    It all works now using the Android Plus Object

Similar Threads

  1. AndroidMicrophone.mfx causes build failure?
    By steakor in forum Android Export Module 2.5
    Replies: 8
    Last Post: 17th May 2017, 03:32 PM
  2. Replies: 38
    Last Post: 10th July 2015, 12:37 AM
  3. SWF Export Failure occured - Standard Failure Message
    By CrazySession in forum Flash Export Module 2.5
    Replies: 2
    Last Post: 3rd January 2015, 12:48 PM
  4. Build API, Minimum Android Version, Target Android Version?
    By KLiK-iT in forum Android Export Module 2.5
    Replies: 4
    Last Post: 9th July 2014, 12:50 PM
  5. Build failure for SDK?
    By jayklik in forum Extension Development
    Replies: 6
    Last Post: 2nd September 2006, 03:03 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
  •