zoukankan      html  css  js  c++  java
  • The newly created daemon process has a different context than expected

    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 FilesJavajdk1.8.0_31,daemonRegistryDir=C:Usersmustafac.gradledaemon,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 FilesJavajdk1.8.0_31,daemonRegistryDir=C:Usersmustafac.gradledaemon,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目录就好了)

  • 相关阅读:
    hdu_2224_The shortest path(dp)
    hdu_4824_Disk Schedule(dp)
    hdu_5680_zxa and set(想法题)
    hdu_5683_zxa and xor(非正解的暴力)
    hdu_1429_胜利大逃亡(续)(BFS状压)
    hdu_1254_推箱子(双BFS)
    hdu_1969_pie(二分)
    hdu_2446_Shell Pyramid(数学,二分)
    hdu_2141_Can you find it?(二分)
    5.2 nc + JMX查看分布式程序数据
  • 原文地址:https://www.cnblogs.com/armyant/p/7533547.html
Copyright © 2011-2022 走看看