Before installing Android Studio you'll need to install the Java development kit or JDK from Oracle you can download the JDK from http://java.oracle.com. Regardless of which version of Android you're developing for, you can always use the most recent version of the JDK. As of the time of this recording that was Java 8.
- [Voiceover] Before you install Android Studio on your development computer, you'll need to have installed the Java Development Kit from Oracle. You can download that from java.oracle.com That will take you to this webpage, and from there click on Java SE, and then click on download under JDK. Now, on Windows, I recommend using the latest version of Java. As of the time of this recording, that was Java SE Development Kit version 8 update 74.
On Mac OS 10 though, you might want use an older version. As of the time of this recording, there was a bug with the latest version of this JDK, that interacted with IntelliJ IDEA. If you do have the latest update installed, and you open up Android studio, and you see a dialog pup-up that tells you that there's a problem working with dialog boxes, you can downgrade to an earlier version to avoid the bug. To find out which version you have installed on your computer, go to terminal and type java -version.
And on my computer, I have Java 8 update 51. Now, by the time you watch this course, this bug might not be an issue anymore, and in that case, I'll recommend using the latest version. If you do need to go get an older version of Java though, here's where you can get it. Go to this webpage, and from here you can get any version of Java you want. And again, I'm using version 8 update 51. In order to download these versions you'll need to register with Oracle, that's pretty straight forward though, and completely free.
I won't cover the steps for installing the JDK in detail here, but if you need some help, you can watch the videos in this course: Java Essential Training. In the chapter Installing the Software, I've include detailed steps in the videos Installing Java on Windows, and Installing Java on OS 10. Once you have the JDK installed, you're ready to install and use Android Studio.
- Installing Android Studio on Mac and Windows
- Creating Android Studio projects
- Setting up the development environment, including HAXM and the new Android emulator
- Importing existing code into Android Studio projects
- Exploring the interface, including the editor and project windows
- Managing project builds and dependencies
- Creating new Java classes
- Refactoring code
- Using templates
- Using breakpoints and watch expressions
- Updating apps with Instant Run
- Using Git for version control
Skill Level Beginner
Q: This course was updated on 04/27/2017. What changed?
A: New videos were added that highlight the new features introduced in Android Studio 2.3. In addition, the following topic was updated: update apps with Instant Run.