Status Update
Comments
ga...@google.com <ga...@google.com> #2
Thanks for filing the issue. Regarding:
1 - we should indeed show JAVA_HOME
location that differs from the one used by the IDE
2 - the message is only shown if the JDK used for Gradle from the IDE is different than JAVA_HOME, and you should not see this message otherwise
3 - Why is there more than one Daemon process on my machine?
, and it there are some missing parts, please file an issue or submit a Github PR with Gradle.
Also, we should suggest a fix for this issue.
Madalin, can you please take a look?
vm...@google.com <vm...@google.com> #3
vm...@google.com <vm...@google.com> #4
As pointed on the previous JDK
path used on Gradle from the IDE is different than your environment variable JAVA_HOME
path. For this reason Android Studio displays that log warning (attached image). Is important to mention the JDK
path displayed on the warning, is the one you have JAVA_HOME
environment variable. You can check more details about that
We encourage you to consider align those two JDK
paths avoiding in this way having
I hope this make sense. Thank you.
On our end we are going to improve a bit the message to avoid confusions with:
- Changing title to "Multiple Gradle daemons may be spawned"
- Add
JAVA_HOME
path to the message
ry...@gmail.com <ry...@gmail.com> #5
Admittedly I'm not a professional Android programmer, but that probably applies to many users. It is great to see that this will be improved.
Description
Over and over I get a message with "using the following JDK location when running Gradle:"
in the first line. It then shows the default location and makes a statement about using different JDK
locations and says something "might" happen.
1) It need to show what the other location is that it things is conflicting with the default.
2) If there's not conflict to report, there should be no message.
3) the "More info..." link goes to a page with all sorts of information about daemons and build environments, but nothing specific to the alleged problem.
Build: AI-212.5712.43.2112.8609683, 202205181650,
AI-212.5712.43.2112.8609683, JRE 11.0.12+7-b1504.28-7817840x64 JetBrains s.r.o, OS Windows 7(amd64) v6.1 Service Pack 1, screens 3440.0x1440.0
AS: Chipmunk | 2021.2.1 Patch 1; Kotlin plugin: 212-1.7.0-release-281-AS5457.46; Android Gradle Plugin: 7.2.1; Gradle: 7.3.3; Gradle JDK: version 11.0.12; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)Source: send_feedback_icon
IMPORTANT: Please read