안드로이드 스튜디오 Gradle Error - an unrecognized jvm option is used
안드로이드 스튜디오 버전 : 0.5.8 을 설치하고,
새로운 프로젝트를 만든 후에 실행 시켰더니,
새로운 프로젝트를 만든 후에 실행 시켰더니,
아래와 같은 jvm 에러가 나타났다.
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.10/userguide/gradle_daemon.html
Please read below process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
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.10/userguide/gradle_daemon.html
Please read below process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
방법을 찾지 못하고 헤매던중, 아래 블로그를 통하여
Gradle option을 수정하였더니 해결 됐다.
모든 프로젝트 종료 > Settings > Compiler > Gradle > VM Option 을 -Xmx512m 로 세팅
Settings > Gradle > Gradle VM Option 에 -Xmx512m 세팅
Settings > Gradle > Gradle VM Option 에 -Xmx512m 세팅
댓글
댓글 쓰기