Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup Android Studio in El Capitan (OS X 10.11)?

Fresh install of El Capitan(10.11), tried to install Android Studio version 1.21.

Error:

Android Studio was unable to find a valid JVM. Please download it from:

Download available from Apple -Java for OS X 2014-001 also does not install.

Error:

Java for OS X can't be installed on this disk. A newer version of this package is already installed

What is the best way of getting this to run?

like image 375
John Avatar asked Jun 11 '15 05:06

John


People also ask

Does Android Studio work with OSX?

To install Android Studio on your Mac, proceed as follows: Launch the Android Studio DMG file. Drag and drop Android Studio into the Applications folder, then launch Android Studio. Select whether you want to import previous Android Studio settings, then click OK.

How do I know if Android Studio is installed on my Mac?

You download installers for Android Studio tools from developer.android.com/studio. To check if it's already installed, look for the program file: Android Studio. app on Mac OS; studio.exe or studio64.exe (or a shortcut to Android Studio) on Windows.

Can I develop Android apps on Mac?

Yes. Android development primarily takes place with Java and in Eclipse (which itself runs on Java) and therefore is cross platform.


1 Answers

For it to work on El Capitan (OSX 10.11) you need to install the Java Development Kit, not only Java VM

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

After installing JDK, Android Studio runs as expected!

like image 87
Ponchotg Avatar answered Sep 29 '22 14:09

Ponchotg