Using Android Studio with Java 1.7

后端 未结 7 2340
陌清茗
陌清茗 2020-12-14 15:46

I was trying to get Android Studio to use Java 1.7 on Mac OS X (Mountain Lion)

I went to File > Project Structure... and then tried to add a JDK with

7条回答
  •  無奈伤痛
    2020-12-14 16:20

    For those wonder how you start the actual program Android Studio with Java 7: edit the plist located in /Applications/Android Studio.app/Contents/Info.plist

    Change the xml key JVMVersion which is 1.6* to 1.7* (Java 7) or 1.6+ (latest version)

    I don't know if there are any problems by doing this so take it easy.

提交回复
热议问题