Error opening Android Studio

3

I installed Android Studio and when I started it showed me this error message:

  

Error launching Android Studio

     

Failed to create JVM: error code-1.   JVM Path: C: \ Program Files \ Java \ jdk1.8.0_101 \ jre   If you already have a 32-bit JDK installed, define JAVA_HOME variable   in Computer & SystemProperties> System Settings> Environment Variables.

This is how I have the variable environment.

    
asked by Abuelo 27.09.2016 в 19:21
source

1 answer

4

The message tells you the problem, you installed Android Studio for 32 bits but for this you need 32-bit JDK , you must install it and indicate within the" Environment variables "the path in the variable" JAVA_HOME ".

  • It is important to comment that you must ensure that you are using a 32-bit system, because if you install and configure JAVA_HOME with JDK for 32 bits you can create problems.

Inside Android Studio check that you have defined the correct path to the JDK, you can access using

File > Project Structure > SDK Location

    
answered by 27.09.2016 в 19:49