Using Android Studio with Java 1.7

后端 未结 7 2395
陌清茗
陌清茗 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 15:59

    I went to Java SE Downloads and downloaded Java 7 again. The method mentioned above worked for Eclipse.

    Running the installer from this manual download placed the JDK in /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home, which was accepted by Android Studio.

提交回复
热议问题