【error】Gradle sync failed: Unable to start the daemon process.【已解決】


---恢復內容開始---

在克隆GIT項目后,Android Studio 報錯:

Gradle sync failed: 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 https://docs.gradle.org/4.4/userguide/gradle_daemon.html
Please read the following process output to find out more:

根據網上說的解決方法還是報這個錯誤。

因之前沒有出現這個錯誤,是在修改過JDK及其他一些東西后才出現的,就又嘗試改回默認的JDK:

File->Project Structure-> SDK Location :

 

Try Again~

沒有這個錯誤了。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM