ERROR: 
 
Failed to create JVM: error code -1. JVM Path: C:\Program Files\android\android studio\jre\jre If you a;ready have a 64-bit JDK installed, define a JAVA_HOME variable in the Environmetal Variables.
Things I've done: 
- Edited the studio64.exe.vmoptions -Lessen the size of xmx and xms 
- Deleted the studio64.exe.vmoptions in the Users/UserName/AndroidStudio3.1/bin  
- Changed the the PATH AND JAVA_HOME paths to their respective paths.  
JDK Version: 10.2 
Android Studio Version: 3.1.4  
 
    