微信熱修復-同事寫好後拉下來代碼就報錯了

同事寫的功能,在他的mac電腦上就是好的,但是我拉下來代碼就不行了,做開始報的錯的是jvm內存的問題,然後就內存大小,改大了崩潰,改小了報錯,然後就圍繞着內存展開了一系列的研究

 

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.6/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 4145152KB object heap

 

 

後來內存改好了,又報錯說是守護進程的問題,研究了半天發現了這篇文章,也就是拯救我的這篇文章

https://www.jianshu.com/p/cae6113dd5c0

原來竟然是我的路徑寫錯了,jdk的路徑寫成了jre,真是哭笑不得

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章