• Building
  • JAVA_HOME is not set and no 'java' command could be found in your PATH.

I have installed jdk 8, jdk 13, jre 8. I still get this error trying to export my android game. This is because I am trying to ad an admob plugin wich I really want so please help.

Check the environment variables in Windows settings. What that means is that JAVA_HOME is not there, so it cannot find the java program. Usually this is setup by the JDK installer, but maybe something was wrong. If you can find the "java" executable, just add JAVA_HOME as a user variable and set the path equal to that folder.

@cybereality Ok so thanks to you I got over that error BUT. I still get this anything about this?

Can you share that error in the output console (it's the red text on the bottom of the window)?

a year later

Sorry for bump, but having the same problem(s) in Godot 3.2.3, since I added the AdMob and couldn't find soulution anywhere. Anyone solved this yet?

Error in the output console is: editor/project_export.cpp:984 - Failed to export the project for platform 'Android'.

Ok, after restarting Godot, now I got this message and the debug output is still editor/project_export.cpp:984 - Failed to export the project for platform 'Android'

9 days later