Install JDK and Android Studio for Windows
A free video tutorial from Devslopes by Mark Wahlbeck
Learn programming & app development
4.4 instructor rating • 25 courses • 330,419 students
Learn how to install Android Studio for Windows.
Learn more from the full courseKotlin for Android: Beginner to Advanced
Kotlin is an expressive, concise & powerful development language on Android. Learn everything you need to know to start
22:52:48 of on-demand video • Updated March 2018
- Build professional, fully functional apps using Kotlin
- Apply for Jr. Android app development jobs
- Submit apps to the Google Play store
English [Auto] Friday welcome back. Ladies and Gentleman in this lesson we are going to set up Android studio for Windows. All right. So here we are on my windows. I got Windows 10 running and the first thing that we are going to need is the Java development kit. All right. So I just open up your browser I'm here in Chrome and I'm going to just search for JDK then press enter and click up here on the Java se downloads click right there and then we're going to come over here to the Java platform JDK and click right here. And then we're just going to select our operating system we are of course on Windows and we want the 64 bit. Right here. We've got to accept the license agreement first. Right. We're going to click there and then here we go. So I'm going to click and that is going to start the download looks like it's a couple hundred megs. So we will be right back once that's done downloading. All right it looks like the download is complete so I'm just going to double click on it. All right. Now we got our installation wizard so I'm just going to go through it and accept all of the defaults and we say next and we are going to be installing here. And the default path here is Heinzmann to say next Holy mackerel. Three billion devices. All right so the Java Sea development kit has successfully installed so we are good to go with it. All right so the reason that we need the age of STK is so that Android studio can work properly. So if we had done downloaded the Android studio first and tried to create a project it would not have been able to because it needs this development kit. All right so now we're ready to go and download it. Android studios and we opened up a new tab here and Michigan to search for Android see Android studio and we want to preview here well I should say let's go here first and if at the time that you weren't looking at this if this is if the version here is 3.0 or above then you get to just download from right here. Right. But at the time that I'm recording this the Android studio 3.0 is still in beta so I'm going to grab it from preview. All right and so the reason we're using the beta is because the beta is what has Cartland support baked into it right now. So I'm just going to pick on download and accept the terms and conditions and start the download. Now this is going to be a pretty big download looks like it's about 700 megs. So let's wait for that to finish and I'll be right back when it's done. All right. So that has finished downloading so let's go to our downloads folder here. Now with the Beta it doesn't actually download and he asks the installers Well we're going to do. We're going to come here to the our zip file. We're going to go into it and then we're going to say we're in a right click and say extract all then we can select a destination and extract the files. I'm just going to choose documents and then I'm going to say extract. And this is going to be a pretty long process it's a pretty big job. So once again once this is finished I'll be back. All right. So now that has finished extracting out tour documents folder so we come over here to where you extracted it to and then go into bin and then down here and we want the studio 64 publications. I'm going to run that and we're going to fire up your studio here and we're going to walk through a few steps. First is going to download some of the STK components that is necessary. And we're going to walk through this wizard here and when it hit next and we're going to do the standard installation for Andrews did you want to say next again and you can see that here we're going to download some more stuff. So let's go ahead and download and once that's finished we'll continue on our way. All right. So that took a little while but we have finished downloading all of the necessary components. So I'm going to click on next orphanage. And here we go. We're ready to open up a new Android project. Let's go ahead and do that. Start a new Android studio project and we're going to jump through this stuff real quick just to make sure that it's up and running. But do check that it includes Katlin support all the rest of the defaults will be fine. So just to make sure that we were able to actually get a project up and running it to sit next and had to install a few more components and see finish now is going to build the application that might take a few seconds. All right so we've got our project popped up it was like you're still doing a little bit of work done here you can see that there's still some progress. So Glenn Close this tip of the day and you can make this full screen and we'll just wait for this Gretl bill to finish up. All right. So here we are in our very first project for working on Windows. Now we're not going to look at too much in here because we are still in the setup phase but the other thing that I do want to look at is if we hover over this right here this blue arrow and if you hover over it will say STK manager I want you to click on it and what we're going to see here are all of the installed Android as the case and you'll see here you'll probably recognize the operating system names. Oh no get marshmallow lollipop etc. now with Android. One of the cons to it is that even though it's so prolific and widespread at any given time there is a very very small percentage of users that are on the latest and greatest operating system. All right. So if you want to support a large percentage like 90 percent and up you have to go down pretty far in the hundreds. I mean you have to support operating systems that are running from five plus years ago. Right. And so what I'll usually do is all support about API level 19 and above. Okay I give you about 90 percent of Android users. In fact if we jump to Chrome real quick can we Google something like let's see here Android operating system distribution in that we can check here on the dashboards and this will show us a little bit of a breakdown of the distribution. Okay so you'll see here that on nugget the most recent lead released operating system you're only looking at about maybe 13 percent marshmallow and that's at thirty two percent. And then following up with that lollipop is around also 30 percent. And so you've got to go pretty far back to capture a large percentage. Like I was saying I think I think Kit-Kat supports about 90 percent of the users. All right so back into injury studio what this means is that if you want to make sure that your app is running smoothly on all of those older operating systems that you want to support you need to be able to test those and test those you need to be able to you need to have these SDK downloaded for each operating system so that when you run or when you create an emulator you are able to specify I want this emulator to run on this specific Android operating system. So if you're going to be supporting all the way back to 19 and you want to make sure that every operating system in between is it works fine. Then you need to check all of these and then press apply. All right. So I'm probably not going to select all of them. I'll select a couple select ones but definitely right now we only have 0 installed. And so I definitely want the Nugget's once installed. I'm going to slip both of those and I'm going to press apply. And it's going to tell us what components are going to be installed and I'll say OK. And now it's going to go ahead and download those as the case for us is going to give us the license agreement we have to say accept and then say next. And that's going to go ahead and download for us. All right. So once this finishes up downloading That's all we're going to cover in this lesson. Just to recap where we went over you've got to install JDK first so you have your Java development kit all ready for when you install Android and once you install Android studio you just walk through the wizard. Pretty simple straightforward you're going to be downloading a bunch of extra components and then once you get inside. Open up your SDK manager and go ahead and download any of the older Android SDK that you plan on supporting so that you can test those in your emulator. All right. So in the next lessons will actually get to work on creating a cool little app. So I will see you then.