Install JDK and Android Studio for Mac

Devslopes by Mark Wahlbeck
A free video tutorial from Devslopes by Mark Wahlbeck
Learn programming & app development
4.4 instructor rating • 25 courses • 330,437 students

Lecture description

Let's get you set up with the tools you need on Mac

Learn more from the full course

Kotlin 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] Hey everyone. Welcome back Johnny be here with the slopes dot com. And in this lesson we are going to install Android studio and some of the other things that are needed for Android studio to run. All right. And so you may notice that this looks a little bit different from my regular computer because I wanted to do a completely fresh install so that you guys can see me go through step by step instead of you know there might be some stuff already installed on my computer. And so we just wanted to do it a fresh install All right. So we're going to go ahead and do that and we're going to open up Safari. And so the first thing that we're going to need is JDK the Java development kit. OK. So to work with Katlin which is based on the Java Virtual Machine we're going to need JDK and Android studio also needs. So I got to do is search for install JDK and then we're going to come here to the Java e downloads click here. And then this is one Move-On Java platform JDK and click here. And since this is the set up for Mac we are just going to come down here and the for the Mac OS X download. Looks like it's about 230 megs so this might take just a little bit of time so I'm going to click here. Oh you got it. Except. So accept the license agreement. Yep totally read that. And then we click here and just let that download and I'll be right back. Once that's done all right. So the download has complete so I'm going to open up my downloads folder here. And let's just open up and run this DNG here. So we are opening verifying checking volumes already. So then we are going to hold on decide later we're going to double click on here to install the JDK we're going to continue to take up a whole bunch of space. Right. Nextstep Oh. And we can move the DMG to the josher Why not. All right. Now we have our JDK installed. Next step is to go and get Android studio to open up a new tab and just search for Android Lipsey Android studio and we can come here to download Android studio and STK tools. And so if at the time that you were watching this this it says right here is 3.0 or above. Go ahead and click right here. All right. But at the time of recording the version of Andrew the studio that has Cartland built in default that's in beta. All right. So what we want is come up here to her it's his preview. It's going to click on preview. So this is their beta area right. So we were meant to download download 3.0 canary type. So we're going to click here for Mac and we are going to accept the terms and conditions and click on download 3.0. All right. So that's going to download and Yesso Hala be right back once that's finished. All righty. That has finished up downloading so I'm going to go ahead and open up my downloads folder again and I'll look at that. It is already installed on packed and everything. All I got to do is just drag this over into applications. So just drag that over to applications and let's go ahead and run it. All right he said are verifying it. And kids is going to give us a little bit of a security notice just to make sure that we know that we've downloaded it from the internet and do give us a chance to refuse opening this potentially dangerous app. But we know it's a good app comes from Android Web site so whenever good there is going to fire up here in a sec. All right. So then it's going to ask us if we want to import studio settings from. So if you have a previous version of Android studio then you can go ahead and import studio settings from from one city you can carry over your your settings. This is a brand new fresh install I don't have any import settings. When I say OK you can see here as part by the intelligent platform and if you remember intelligent is an ID that is developed by brains which are who are the creators of Collen are so intelligent. Brains Collin and Andrew studio are all well inter meshed so that's good for us. OK so now we're in the Android studio setup wizards who might say next. And now we're just going to do a standard installs what to say next and right here is going to show us all of the things that we need to download and install to get Android to be up and running. We got the emulator which is the android simulators. We have the build tools Google repository the Hexham emulator accelerator which is really important for us because we need it. I mean what waxing does that it really increases the speed that the emulators are able to perform. So you are just going to say finish and be ready to download all of that stuff. Hopefully it doesn't take too long and I'll be right back. Once that's done all right. So that went according to plan so everything has been downloaded. Just go ahead and say finish. And then we are ready to open up and start a new Android studio project. So let's go ahead and do that. Right click here just a click here. And we're going to go over all this stuff in-depth here in the next couple of lessons. But just real quick I want to set up a couple of more things. So we're just going to go ahead and do some stuff here so I'm just going to say test and then whatever you have in here is fine. Set your location by default that goes into your documents folder and set up a project called ANJO studio projects. That's fine for now. So when I say next. And then right here and we have our phone and tablet which is what we're going to be working with mostly and it asks us to select a an API. So there's going to be an API so I get to select our Android. Four point three jelly bean. And again we're going to talk a lot more about this in depth here in the next lessons. Like I said this is just to get everything set up someone to say next I'm going to choose an empty activity and say next and mean activity and all of this is the defaults is fine. I'm going to say next. And then we're going to say finish all right so we are finally loading up may be able to hear the fans on my MacBook Pro just screaming sounds like some of the buzz about to take off from an aircraft carrier or something. So yeah Android studio is very heavy on the CPE you know this is a pretty brand new MacBook Pro too. All right so here we have what pops up the tip of the day. And other useful sometimes. So I usually you can turn it off or you can turn it off or leave it on. I leave a months occasionally or something interesting in there. And here we have our first project and it looks like it's still build in some stuff. So we're going to wait for this to finish. All right. So project is finally all the way up. You can hear my fans winding down after that Herculean effort of opening a project. And yeah here we are. This is Android studio. We're not going to go there. We're still not going to dive too much into Android studio like what all of this all these buttons are and everything does. Because we're still in set up phase so what I want you to do is come over here and look at the look for this button here. Got a blue arrow pointing down and it's called the if you hover over it it will come up and say the SDK manager and I if we click on that is going to pop up and it's going to show all of the SDK platforms that are currently installed. All right. And so what this does is this allows you to run on your emulator different versions of Android. And so in the Android world if you're coming from iOS most users are not on the latest operating system which in this case is Android. Oh. And so you find that to support even a large percentage of Android users. You have to go pretty far back in the Android operating systems. And so to be able to test that your app works correctly on some of those older systems you need to be able to run your emulator on it and so you need to have all of some of these older ones installed. All right and so I'll typically go back to about API level 18. And I think that covers about 90 percent or so of users. So if you want to do testing and make sure that your app is working for those older versions then you need to click on all of these or whichever specific API levels you want to test on. And then you'll see then you'll hit apply. OK. I'm actually not going to do this because I have all of these already installed on on my computer. And so once once I switch back over to my computer you'll see that I have all of these installed. But for you guys if you want to be able to test on older versions of the of the operating system it's not technically even required. You could submit an app that only works on Android 8.0 on the on the newest operating system but you are only going to capture a very very very small market. In fact if we let's go ahead and google this if we say something like Android operating system distribution maybe that's should probably get us there. See here is it. Let's see here dashboards. OK. Platform versions. So you see here that rhino nugget is the latest version. It's still in beta I believe. And so even the very latest nugget it only captures only has 10 percent of the Android market. 30 percent is on marshmallow around 30 percent is on lollipop and about 17 percent is still on Kit-Kat. I would think there's actually a pretty small percentage in jelly bean. So I might actually move my minimum STK up to 19 I think. All right. And so yes so that's that's that's kind of the breakdown. Very few people are at any time on the very latest version of the of the operating system. So yeah go ahead and download as many of the older Esti case as you want to. Or here we have some SDK tools. If you don't have this right here the Intel X 86 emulator accelerator Hexham installer installed. Go ahead and install that as well we're going to be using that for our emulators. And that's about all we need for set up. So when the next lesson we are going to take a look at the Android emulators and learn a whole bunch of stuff about how awesome they are. All right. So I will see you then.