#1 Re: Topics related with App Builder » How to solve gradle daemon error and Jvm error » 2017-01-07 11:40:31

Yes,admin.My problem is not related with app builder.It's related with my system and apache cordova installation.Thanks for reply.

#2 Re: Topics related with App Builder » How to solve gradle daemon error and Jvm error » 2017-01-05 08:35:43

Dear admin,My computer specification is Intel core i7,4gb ram,320 gb hdd drive.Did you means 4gb ram is not enough
to build with cordova system.Is it still need to upgrade my ram  4gb to 8gb ram?.If you have any other trick to assign
more resources for jvm space .Plz,show me.Thanks for quick reply.

#3 Topics related with App Builder » How to solve gradle daemon error and Jvm error » 2017-01-04 13:37:06

l.yeaung
Replies: 6

Dear admin,when i test your application builder.Then i create a app and i had save a mytest.ab file and build.Then
I get a mytest.bat and i've execute that file. Then i get another cordova related 6 file and I've already installed
cordova,node.js,git,ant,android sdk,java jdk, gradle 3.3, but it's not worked as i expected and it's always get errors
and end.If you explain about the error .I'm so gladly  appreciate your help.sorry for my bad english.

Here is the error message of cordova cmd

"Error: Platform android already added.
Installing "cordova-plugin-whitelist" for android
ANDROID_HOME=C:\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_111
Subproject Path: CordovaLib
Starting a new Gradle Daemon for this build (subsequent builds will be faster).

FAILURE: Build failed with an exception.

* What went wrong:
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 [url]https://docs.gradle.org/[/url]
2.14.1/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 2097152KB object heap


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
Failed to install 'cordova-plugin-whitelist':Error: cmd: Command failed with exi
t code 1
    at ChildProcess.whenDone (E:\ayn usr profile 1\ayn\Desktop\mytest\MyApp_Comp
iled\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169
:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
Error: cmd: Command failed with exit code 1
ANDROID_HOME=C:\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_111
Subproject Path: CordovaLib
Starting a new Gradle Daemon for this build (subsequent builds will be faster).

FAILURE: Build failed with an exception.

* What went wrong:
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 [url]https://docs.gradle.org/[/url]
2.14.1/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 2097152KB object heap


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
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 [url]https://docs.gradle.org/[/url]
2.14.1/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 2097152KB object heap


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
Press any key to continue . . ."

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.