2015-06-08 100 views
0

我在linux操作系统中使用android studio。当我创建一个项目或打开一个新的项目,我发现了以下错误:Gradle项目同步失败在Android工作室在Linux中

Error:Unable to start the daemon process. 
This problem might be caused by incorrect configuration of the daemon. 
For example, an unrecognized jvm option is used. 
Please refer to the user guide chapter on the daemon at http://gradle.org/docs/2.2.1/userguide/gradle_daemon.html 
Please read the following process output to find out more: 

Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 
22:25:20.715 [main] DEBUG o.g.l.daemon.bootstrap.DaemonMain - Assuming the daemon was started with following jvm opts: [-XX:MaxPermSize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Xmx512M, -Dfile.encoding=UTF-8, -Duser.country=US, -Duser.language=en, -Duser.variant] 

FAILURE: Build failed with an exception. 

What went wrong: 
Could not create service of type DaemonContext using DaemonServices.createDaemonContext(). 

Try: 
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 

如何解决在我的Android工作室在Linux操作系统这个问题呢?

+1

看看答案为你工作http://stackoverflow.com/questions/25009717/Android的工作室gradle这个项目,无法对启动的守护进程,initializatio –

回答

相关问题