Thx, Looks like %JAVA_HOME% is not returning anything. But I do have that configured in my adt.cfg file:
JAVA_HOME is usually picked up from an environment variable but this can override it:
JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.13
For testing I added a JAVA_HOME system environment variable to point to the above location but when I did that, my APK build process broke. I did change the double "\\" to single "\" in the system var. I had to remove it, restart the machine, in order to build APK files again.