Legacy GM Could not determine java version from '12.0.2'.

J

Joseph Moose

Guest
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 by a moderator:

rIKmAN

Member
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
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.
 
J

Joseph Moose

Guest
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.
 

rIKmAN

Member
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.
What version of GMS are you using? - the full version number.

The requirements are different depending which exact version you are using.
 
Top