Installing Android Studio
To download Android Studio, first go to Android’s website and download Android Studio. Then go through the following steps to get to the Android Studio boot screen, as shown:
If you’re a Mac user, follow these steps to download Android Studio:
Open the downloaded DMG file, android-studio-ide-*.dmg.
From the resulting Android Studio DMG volume, drag and drop Android Studio into the Applications folder.
Eject the Android Studio DMG volume so that you don’t accidentally run the wrong Android Studio.
Open the Applications folder and double-click Android Studio.
Depending on your security settings, when you attempt to open Android Studio, you might see a warning that says the package is damaged and should be moved to the trash. If this happens, choose System Preferences→Security & Privacy and, under Allow applications downloaded from, select Anywhere. Then open Android Studio again.
Depending on your Mac, you may be asked to install Java at this point.
Click OK and Java will be automatically installed for you.
If you’re a Windows user, follow these steps to download Android Studio:
Launch the downloaded EXE file, android-studio-bundle-*.exe.
Follow the setup wizard to install Android Studio.
Open the Start screen and launch Android Studio.
On some Windows systems, the launcher script does not find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.
Choose Start menu→Computer→System Properties→Advanced System Properties. Then choose Advanced tab→Environment Variables and add a new system variable, JAVA_HOME, that points to your JDK folder — for example, C:ProgramFilesJavajdk1.8.0_20.