I'm getting software conflict errors such as Gradle could not find the path to the JDK.
After much research and trial & error experiments I've gained more knowledge but still didn't get a straight solution to how that setup should be done correctly.
I've tried several software/settings combinations, hacks and answers I found on Stack Exchange and such sites. But then other issues pop up (and a Gradle scan shows more of them) and what is needed is the correct explanation of how that should be done to build a robust environment the way it was meant to be by the developers.
Android Developer site, the official site from which to download Android Studio, doen't state there's a need for additional JDK/JRE installation, and I also found within Studio a differed version than the latest and no JDK (which is the one that, as I understand, Studio actually needs).
C:\Program Files\Android\Android Studio\jre
I'm using the latest versions on a Windows 8.1 on a Lenovo Y50-70 (64 bit, 16GB RAM):
Android Studio 3.1.2
Gradle 4.4 through Gradle plugin 3.1.2
JDK 10.0.2 (Oracle states it includes the JRE).
I've already installed and uninstalled a couple of times and wouldn't like to further mess up anything (OS registry etc.), what's needed is an experienced expert on-point advise.
Thanks in advance.
Thank you! That seems to be the exact right solution. Please excuse my 'noobity', unfortunately I still need and would appreciate a few details, if possible. How is that done (it doesn't seem to be an automatic default for many developers)? Which script is that? Did you have to modify it? And if yes then how? Does a separate installation of the JDK is certainly needed in addition to the Studio one?