Error to run Android Studio

后端 未结 17 2102
执笔经年
执笔经年 2020-12-22 17:43

I have installed Android Studio and I followed all steps described here

But when I start studio.sh I got an error with this message:

17条回答
  •  再見小時候
    2020-12-22 18:13

    I ran into this issue when I was referencing

     [drive]:\Program Files\Java\jdk1.8.0_65 
    

    in my JAVA_HOME environment var instead of the Android Studio recommended

    [drive]:\Program Files\Java\jdk1.7.0_79. 
    

    I am using the x64 version of the JDK on Windows 10 Pro.

    From the Android Studio installation instructions.

    Before you set up Android Studio, be sure you have installed JDK 6 or higher (the JRE alone is not sufficient)—JDK 7 is required when developing for Android 5.0 and higher. To check if you have JDK installed (and which version), open a terminal and type javac -version. If the JDK is not available or the version is lower than version 6, download the Java SE Development Kit 7

    http://developer.android.com/sdk/installing/index.html?pkg=studio

提交回复
热议问题