【发布时间】:2018-01-31 07:17:06
【问题描述】:
发生以下错误,我的 android 项目都没有与 gradle 同步。当我打开 android studio 时,这是自发发生的。我的 JAVA_HOME 用户变量设置为“C:\Program Files\Java\jdk1.8.0_144\bin”。此外,android studio 中的 JDK 位置不会从 F:\Softwares\Android\jre 更改为任何内容,因为当我尝试更改它时它会变回来。
The newly created daemon process has a different context than expected.
Java home is differnt.
Expecting: 'F:\Softwares\Android\jre' but was: 'C:\Program
Files\JAVA\jdk1.8.0_144'. Please configure the JDK to match the expected one.
【问题讨论】:
标签: android-studio gradle windows-10