[AC-6523] Unable to start the daemon process.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2020-04-09T08:23:02.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Praveen Kumar |
Assignee | Abir Mukherjee |
Created | 2020-04-08T08:52:31.000+0000 |
Updated | 2020-04-09T08:23:02.000+0000 |
Description
Hello,
I got error while run android app in axway appcelerator studio. Please advise me for resolving the issue.
[GRADLE]
[ERROR] : [GRADLE] FAILURE: Build failed with an exception.
[ERROR] : [GRADLE]
[ERROR] : [GRADLE] * What went wrong:
[ERROR] : [GRADLE] Unable to start the daemon process.
[ERROR] : [GRADLE] This problem might be caused by incorrect configuration of the daemon.
[ERROR] : [GRADLE] For example, an unrecognized jvm option is used.
[ERROR] : [GRADLE] Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/5.4.1/userguide/gradle_daemon.html
[ERROR] : [GRADLE] Process command line: C:\Program Files (x86)\Java\jdk1.8.0_151\bin\java.exe -Xmx3072M -Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en -Duser.variant -cp C:\Users\dell\.gradle\wrapper\dists\gradle-5.4.1-all\3221gyojl5jsh0helicew7rwx\gradle-5.4.1\lib\gradle-launcher-5.4.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 5.4.1
[ERROR] : [GRADLE] Please read the following process output to find out more:
[ERROR] : [GRADLE] -----------------------
[ERROR] : [GRADLE] Error occurred during initialization of VM
[ERROR] : [GRADLE] Could not reserve enough space for 3145728KB object heap
[ERROR] : [GRADLE]
[ERROR] : [GRADLE]
[ERROR] : [GRADLE] * Try:
[ERROR] : [GRADLE] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[ERROR] : [GRADLE]
[ERROR] : [GRADLE] * Get more help at https://help.gradle.org
[ERROR] : "gradlew" tool returned exit code: 1
[ERROR] Application Installer abnormal process termination. Process exit value was 1
[~praveeav@gmail.com] it looks like the the default value we assign to the JVM when building is too large for your machine. You can configure this to be a smaller value using the below To set the values in the config run the below commands. this persists for every app built on that machine
Set the following values in your tiapp. This app specific, but persists across every machine that builds the app:
issue resolved. Thanks Ewan Harris.