Please help me to solve this problem. I don't know how to solve this problem because I've already tried all methods that I know of, but I'm still getting a Gradle error.
I've already added the new system variable name : _JAVA_OPTIONS and the value : -Xmx512M. The error is still same. Please help me if you can.
$ ionic cordova platform list
cordova platform ls
You have been opted out of telemetry. To change this, run: cordova telemetry on.
Installed platforms: android 6.4.0
Available platforms: browser ~5.0.1
ios ~4.5.4
osx ~4.0.1
windows ~5.0.0
www ^3.12.0