sorry, i’m very beginner in ionic & cordova, when i try to build function SQLite i getting error,
this my req :
and this is my error :
cordova build android
[14:25:53] lint finished in 17.84 s
ANDROID_HOME=C:\Users\admin\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_102
Subproject Path: CordovaLib
Starting a Gradle Daemon (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 The Gradle Daemon - Gradle User Guide Version 3.3
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 The Gradle Daemon - Gradle User Guide Version 3.3
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] An error occurred while running cordova build android (exit code 1).
Can somebody help??
thanks
kind regards