there are couple of things that nearly solved my issues.
- install microsoft visual studio according the the unreal documentation.
- your project address is fine but mine was too long and when I moved it in desktop it fixed.
- in project settings, go to android and check the build address once again. (u can type -Target=D:.… whatever as well in cmd tool.
- and although i installed java from oracle, but the address I gave to work for me was C:\Program Files\Android\Android Studio\jre
I hope these work for you. it’s a frustrating part to make it work I see all ppl moving forum to forum for every step… I hope it get fixed with an easier or one click solution.