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目录就好了)

  • 相关阅读:
    Struts类型转换
    Oracle的学习,知识点整理
    常用的Oracle_SQL语句
    Oracle的优化
    Oracle创建表空间,用户,授权
    Linux权限的控制
    Oracle实例的3种连接方式和所使用的连接工具
    Oracle数据库打开端口
    Hibernate一对多配置
    hibernate UUID问题
  • 原文地址:https://www.cnblogs.com/armyant/p/7533547.html
Copyright © 2011-2022 走看看