在不同的进程上使用不同的 JDK 位置可能会导致 Gradle 产生多个守护进程。[安卓工作室 4.1]

Sah*_*dia 5 java android gradle android-studio

我无法弄清楚这个警告指的是什么。这是怎么触发的?

                Android Studio is using the following JDK location when running Gradle:
                C:\Program Files\Android\Android Studio\jre
                Using different JDK locations on different processes might cause Gradle to
                spawn multiple daemons, for example, by executing Gradle tasks from a terminal
                while using Android Studio.
                More info...
                Select a JDK from the File System
                Do not show this warning again
Run Code Online (Sandbox Code Playgroud)

正确做事的解决方案或步骤是什么?