User Tag List

Results 1 to 10 of 10

Thread: Why is compilation always unsuccessful?

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    wuxuechen's Avatar
    Join Date
    Nov 2006
    Posts
    280
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Why is compilation always unsuccessful?

    FAILURE: Build failed with an exception.

    * Where:
    Settings file 'C:\Users\Administrator\AppData\Local\Temp\AndCE4B .tmp\settings.gradle'

    * What went wrong:
    Could not compile settings file 'C:\Users\Administrator\AppData\Local\Temp\AndCE4B .tmp\settings.gradle'.
    > startup failed:
    General error during semantic analysis: Unsupported class file major version 60

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

    Why is compilation always unsuccessful?

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,934
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    can you give details on what java sdk you are using?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    wuxuechen's Avatar
    Join Date
    Nov 2006
    Posts
    280
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    C:\Program Files\Java\jdk-16.0.2
    C:\Program Files\Android\Android Studio\jre

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,934
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    and what are you using in preferences as JDK C:\Program Files\Android\Android Studio\jre?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    wuxuechen's Avatar
    Join Date
    Nov 2006
    Posts
    280
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Starting a Gradle Daemon (subsequent builds will be faster)
    WARNING:: Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.
    This repository is deprecated and it will be shut down in the future.
    See http://developer.android.com/r/tools...end-of-service for more information.
    Currently detected usages in: root project 'AndAAEA.tmp', project ':app'
    File C:\Users\Administrator\.android\repositories.cfg could not be loaded.
    Checking the license for package Android SDK Platform-Tools in C:\Program Files\Android\Android Studio\licenses
    Warning: License for package Android SDK Platform-Tools not accepted.
    Checking the license for package SDK Patch Applier v4 in C:\Program Files\Android\Android Studio\licenses
    Warning: License for package SDK Patch Applier v4 not accepted.
    Checking the license for package Android Emulator in C:\Program Files\Android\Android Studio\licenses
    Warning: License for package Android Emulator not accepted.
    Checking the license for package Android SDK Tools in C:\Program Files\Android\Android Studio\licenses
    Warning: License for package Android SDK Tools not accepted.
    Checking the license for package Android SDK Build-Tools 30.0.2 in C:\Program Files\Android\Android Studio\licenses
    Warning: License for package Android SDK Build-Tools 30.0.2 not accepted.
    Checking the license for package Android SDK Platform 29 in C:\Program Files\Android\Android Studio\licenses
    Warning: License for package Android SDK Platform 29 not accepted.

    FAILURE: Build failed with an exception.

    * What went wrong:
    Could not determine the dependencies of task ':app:bundleDebugResources'.
    > Failed to install the following Android SDK packages as some licences have not been accepted.
    patcher;v4 SDK Patch Applier v4
    emulator Android Emulator
    platforms;android-29 Android SDK Platform 29
    build-tools;30.0.2 Android SDK Build-Tools 30.0.2
    tools Android SDK Tools
    platform-tools Android SDK Platform-Tools
    To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
    Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html

    Using Android SDK: C:\Program Files\Android\Android Studio

    * 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 https://help.gradle.org

    BUILD FAILED in 48s

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    wuxuechen's Avatar
    Join Date
    Nov 2006
    Posts
    280
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    C:\Program Files\Android\Android Studio\jre
    C:\Program Files\Android\Android Studio

  7. #7
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,934
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    sorry i see that you haven't accepted license for this sdk tools you have too

    Failed to install the following Android SDK packages as some licences have not been accepted.


    did you try
    sdkmanager --licenses in your sdk directory?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  8. #8
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    wuxuechen's Avatar
    Join Date
    Nov 2006
    Posts
    280
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    How? I don't understand

  9. #9
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)iOS Export Module (Steam)

    Join Date
    May 2014
    Posts
    236
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Try following the guide from this post: https://community.clickteam.com/threads/105484-Android-Runtime-Build-292

    The sdk --- licenses step is also described within.

  10. #10
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    wuxuechen's Avatar
    Join Date
    Nov 2006
    Posts
    280
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I gave up the Android plug-in. It's so annoying. It's either this error or where it's wrong. Give up! Give up! Give up!

Similar Threads

  1. Bug de compilation iOS
    By Vantales in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 8th February 2013, 03:41 AM
  2. Compilation OsX
    By Patrice in forum iOS Export Module Version 2.0
    Replies: 10
    Last Post: 4th August 2011, 05:06 PM
  3. Compilation Bug
    By Fanotherpg in forum SWF/Flash Export Module Version 2.0
    Replies: 13
    Last Post: 5th June 2011, 10:36 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
  •