标签:ror actual pts protect his dump nbsp 导入项目 out
Error: The newly created daemon process has a different context than expected. It won‘t be possible to reconnect to this daemon. Context mismatch: At least one daemon option is different. Wanted: DefaultDaemonContext[uid=null,javaHome=C:\Program Files\Java\jdk1.8.0_31,daemonRegistryDir=C:\Users\mustafac\.gradle\daemon,pid=9040,idleTimeout=null,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1254,-Duser.country=TR,-Duser.language=tr,-Duser.variant] Actual: DefaultDaemonContext[uid=89bee64b-dc23-47f4-a5f6-20fae6341e82,javaHome=C:\Program Files\Java\jdk1.8.0_31,daemonRegistryDir=C:\Users\mustafac\.gradle\daemon,pid=3128,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1254,-Duser.country=TR,-Duser.language=tr,-Duser.variant,http://www.netmahal.com/?bd=hp&oem=hprotect&uid=WDCXWD10EZEX-08RKKA0_WD-WMC1S139379893798&version=&pid=3662073653&cs=6d6fd47ad2184eae96bfc61874ec42f4]
第一次用gradle也是第一次接触android项目,用svn导入项目结果出现了这样的错误,捣鼓了半天才找出原因,我遇到这个问题是因为我装了两个Java sdk
1.7和1.8 都在D盘
解决方案:在gradle.properties文件中加入org.gradle.java.home=D\:\\Java\\jdk1.8.0_121(后面你们改成自己的jdk目录就好了)
The newly created daemon process has a different context than expected
标签:ror actual pts protect his dump nbsp 导入项目 out
原文地址:http://www.cnblogs.com/armyant/p/7533547.html