You install Android Studio on Windows using an installer application, similar to other installers on that platform. Learn to install Android Studio, the Android SDK, and a bundled version of the Java Runtime Environment that's based on OpenJDK. You still need to install the Java Development Kit (JDK) from Oracle.
- [Narrator] To install Android Studio and the Android SDK on Windows, start at developer.android.com. Click the Develop link, and then click the link to download the latest version of Android Studio. As of the time of this recording, in October 2016, the most recent version was Android Studio 2.2.1. Click the link to download, and then accept the conditions, and download the install executable. I've already downloaded the executable to my desktop, and I'll start it up from there.
Now, I'm going to show you what happens if you don't have anything installed on your computer yet, that is, the SDK, any previous versions of Android Studio, or anything else. If you have any existing installations, these screens might look a little bit different to you. When I see the security warning, I'll click the Run button, and after the setup application verifies the installer, you'll see the first prompt. I see another security prompt, and I'll accept it, and then I get to the welcome screen.
After clicking Next, I'm asked which components I want to install, and I'm going to uncheck Android Virtual Device, because I want to create all of my virtual devices from scratch, but I'll accept the Android SDK, and click Next. Then I'll agree to the license agreement, and I'll get to the configuration settings. The recommended installation location of the SDK on Windows is in a hidden directory named AppData. I prefer to put the SDK on Windows into a visible directory, so I'm going to delete AppData/local, and I'll be creating a directory named Android under my Home directory, and under that, a directory named SDK.
I'll accept the installation location of Android Studio under the usual Program Files directory. I'll click Next, and then I'll fire up the installer. It takes a little bit longer to unpack and copy all of the files over on Windows than it does on Mac OS, so be patient and wait a few minutes for the copying process to be complete. The Windows installer includes a basic copy of the Android SDK.
It's zipped up into an archive, and so once the primary file copying is done, you'll see this message, that indicates that the SDK is being extracted to your hard disc. Again, this is a lot of files that are being extracted, so it might take a few minutes to complete. When you get to this screen, the primary installation is complete. When you click Next, you'll see a screen that lets you start up Android Studio for the first time, and then when you finish, you'll see this screen, that asks whether you have a previous version of Studio installed.
If you do, it'll show you the location, and it'll let you choose it to import your settings from that previous version. If you don't, you can just click OK, and you'll go to the welcome screen. From here, click Next, accept the standard type of setup, and then click Finish, and then the installation process will continue with downloading any components that need to be upgraded to make sure that your installation of Android Studio and the Android SDK has all the latest components.
- Installing Android Studio
- Creating your first Android Studio project
- Managing profile files, including Gradle scripts and support libraries
- Defining screens with activities
- Implementing designs in XML layouts