앱개발
gradlew.bat assembleRelease 에러 해결방법
ITPLE
2022. 5. 21. 20:05
반응형
gradlew.bat assembleRelease --stacktrace 에러 해결방법을 알아보겠습니다.
안드로이드 앱을 만들 때 아래와 같이 에러가 나는 경우가 있습니다.
* Exception is:
org.gradle.api.GradleException: 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 Manual chapter on the daemon at https://docs.gradle.org/6.5/userguide/gradle_daemon.html
gradle.properties에 설정된 값을 바꾸면 해결할 수 있습니다.
org.gradle.jvmargs=-Xmx1536m라고 되어 있는 부분이 있습니다. 여기는 Xmx1536m를 Xmx512m로 바꿉니다. 다시 앱을 빌드하면 에러가 나지 않을 것입니다.
반응형