AndroidStudio 3.1 Update and Gradle 4.4 update 후 아래와 같은 메세지만 표시되고 빌드가 진행되지 않는 문제가 계속 발생하였다.

관련하여 문제 로그를 확인하려 했지만 AndroidStudio에는 어떠한 로그도 메세지도 없었다.


 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:
-----------------------


구글링 하던 중 gradle 4.4 jdk로 검색했을 때 참조가 될만한 글을 찾았다.

https://github.com/AsamK/signal-cli/issues/113


프로젝트 폴더에서 cmd 창을 열고 아래 명령을 실행하면 에러 로그를 확인할 수 있다.

E:\aaaaaaaa>gradlew build --stacktrace


오류 로그 첫 줄...

Could not write standard input into: ............


또 다시 구글링..........

https://stackoverflow.com/questions/24548085/broken-pipe-error-when-running-gradle-test


Whew, after whole day struggling with gradle I think I've finally found what cause problems. Guilty of that was antivirus - COMODO. After uninstalling it and installing another one, everything started to working fine. So all Gradle Users - please be careful with COMODO because even disabled, it could cause problems when using Gradle . Be aware :) 


이 놈이 범인!!!

빌드가 안될 때 혹시나 싶어 코모도 안티바이러스 기능을 disable하고 빌드 해봤었다.. 하지만 해결이 안되길래 백신 문제가 아닌가 했는데....

백신을 다 지우고 재부팅 후 실행하니. 해결 완료~~~~~~

이것 때문에 받은 스트레스를 생각하면... 욕나온다..... 코모도.

끝~~




+ Recent posts