troubleshooting Question

How a correct setup of Android Studio plus Java environment should be made?

Avatar of Sam Elfassy
Sam Elfassy asked on
5 Comments1 Solution144 ViewsLast Modified:
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.
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros