Android Studio failed to load JVM on Mac OSX (Mavericks)

后端 未结 6 1368
南笙
南笙 2021-01-30 17:28

I am trying to setup Android Studio on my Mac. It is running OSX 10.9.1 Mavericks. I have installed the latest JDK (at the time of writing 1.7 update 45), and I installed Androi

6条回答
  •  半阙折子戏
    2021-01-30 17:58

    Hey Friends I just Figured it out a simple way to fix this for Mac users.

    Open Terminal and type this -> java -version and hit enter.

    Output will be something like this:

    Now check your Java Version. My Java version is 1.8 So now we need to Open Contents of our Android App. For that right click the Android.app and then select Show Contents Like this

    Now there will be Content folder, Open that Folder and there you will find Info.plist

    Open this info.plist And you will see this.

    In this expand the JVM

    Here you will see the JVM version showing 1.6* but our jvm version is 1.8 (for example my jvm version is 1.8)

    So we need to change this number according to our jvm version, so i changed it to version 1.8*

    Then click save. And you are done. Now you will see setup wizard running

    And you are ready to start your first android programming app.

    Here is the Whole Docx file for Android Studio Setup in Mac X

    LINK: https://www.dropbox.com/s/9jwjebn5hgydyll/Android%20Studio%20Setup%20on%20Mac.docx?dl=0

提交回复
热议问题