Pages

Monday, January 5, 2015

How to fix: "Java/JDK not found" error while launching Android Studio on Mac OS X

You might encounter this error while trying to run Android Studio on Mac OS X: “Java/JDK not found”. Even after installing Java 1.7, you might not be able to start the Android Studio.

This error is because Android Studio refers to Java 1.6 version instead of 1.7 in its Info.plist file.

To fix this, goto Applications > Android Studio (Right click and select Show Package Contents) > Contents and edit Info.plist file in a text editor of your choice. Find JVMVersion and change it to 1.7* from 1.6*. Try starting Android Studio again. 🙂