1. Hey! Guest! The 34th GMC Jam will take place between August 22nd, 12:00 UTC (Thursday noon) and August 26th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

GM:S 1.4 Could not determine java version from '12.0.2'.

Discussion in 'Programming' started by Joseph Moose, May 31, 2019.

  1. Joseph Moose

    Joseph Moose Member

    Joined:
    May 31, 2019
    Posts:
    4
    Hello,

    I making my first Android game and I have this compile error:
    ...........
    FAILURE: Build failed with an exception.

    * What went wrong:
    Could not determine java version from '12.0.2'.

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    exitcode = 1
    cmd /c "subst /d Z:"

    exitcode = 0
    Lint Build report available at C:\Users\myuser\Documents\GameMaker\Cache\Project\Android\Default\com.companyname.Project1\build\ outputs\lint-results.html
    ............

    I dont know how to solve this.
    Thank you in advance
     
    Last edited: May 31, 2019
  2. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,336
    What version of Java are you using?

    Read the Required SDK Articles for either GMS 1.4 or GMS 2 and make sure you are using the recommended SDKs and tools.
     
  3. Joseph Moose

    Joseph Moose Member

    Joined:
    May 31, 2019
    Posts:
    4
    My version of Java is 8u211, of NDK is 16b, of JDK is 12.0.2 and from SDK Manager I have installed Build Tools, Platform Tools, 8 APIs and System Repository.
     
  4. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,336
    What version of GMS are you using? - the full version number.

    The requirements are different depending which exact version you are using.
     
  5. Joseph Moose

    Joseph Moose Member

    Joined:
    May 31, 2019
    Posts:
    4
    I using GMS 1.4.9999 Professional.
     
  6. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,336
    Read the article I posted regarding 1.4 recommended tools and SDK versions and make sure you are using the correct versions, because Java 12.0.2 isn’t mentioned in there.
     
  7. Joseph Moose

    Joseph Moose Member

    Joined:
    May 31, 2019
    Posts:
    4
    Thank you very much. Now it working.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice