我是新來的android工作室和gradle,我有AS 0.5。我下載了0.8.1更新包並通過刪除已安裝的文件並將更新文件複製到程序文件文件夾進行了更新。它運行正確,但是當我嘗試同步gradle時,出現此錯誤。這真的令人沮喪,因爲我有一個非常緩慢的互聯網連接,我已經嘗試刪除.gradle文件,並再次嘗試沒有運氣。任何幫助將不勝感激。我的ADT目前因爲r23的bug而搞砸了。我認爲AS會提供出路,現在我再次陷入困境。Android工作室Gradle同步和構建錯誤
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/1.12/userguide/gradle_daemon.html
Please read below process output to find out more:
18:44:13.593 [main] DEBUG o.g.l.daemon.bootstrap.DaemonMain - Assuming the daemon was started with following jvm opts: [-XX:MaxPermSize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Xmx1024m, -Dfile.encoding=windows-1252]
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.
什麼版本
在/ etc/fstab並重啓刪除 「NOEXEC」 標誌,因爲能夠正常運行搖籃後您在項目中使用Gradle插件的情況?你需要確保它是0.12最小 –
我使用0.12。還有其他的事嗎? –