



You can see which JDK versions you have with: $ ls /Library/Java/JavaVirtualMachines/ You may need to change the 91 in jdk1.8.0_91.jdk to a different version. $ open /Applications/Android\ Studio.app/ Then run the following commands: $ export STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk For Mac users with this issue (I'm running OS X 10.11.5 and Android Studio 2.1.2), here's how you can solve it:Ĭurrently, the Mac version of Android Studio is run with Java 6 (not necessarily the same as the JDK version for the app), because Java 6 has better font rendering than Java 7 & 8, and that's apparently more important than rendering your layout.įirst of all, make sure you have JDK 8 installed.
