Ionic Cordova Build Android Error With Gradle And Build Failed

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.

What is your ionic info output?
Is ionic cordova requirements happy?