[MUSIC]
Well good day, good day it's Tim Buchalka the Aussie Android deaf guy.
Today's video we're going to go ahead and
install Android Studio on a Windows machine.
Now if you're running a Mac or
you're running a Linux machine refer to the videos to my left.
Where I show you how to do what we're doing in this video, But for
your platform.
Now the other thing you'll need to before you go ahead with this installation is
you need to have the Java Development Kit installed on your machine.
Now, if you don't know what that is,
you're not sure you've got it configured or you just want to get a bit of And for
a refresher click on this link over there to my left hand side again and
you'll be taken to a video and
it goes through that step by step so you really can't do anything wrong.
So without further adieu, now let's get into Android studio installation and
configuration for a Windows machine.
Okay, so let's get started.
First thing we want to go is to go to developer dot Android dot com.
Click on get the STK.
I'm going to click on download Android Studio for Windows.
Accept the terms and conditions, and click on download Android Studio for Windows.
You're going to save that, and see, we're just about done now,
so I'll let that finish off, and then we'll go ahead and install it.
I'm going to open it and I'm just going to double click it, and start it.
Run it.
Yes I'm okay with running it.
We'll go through the set up.
So here on this screen I'm going to leave the first two activated,
well the first two we haven't got a choice.
Android SDK we definitely want.
I'm going to turn off the Android virtual device.
You'll normally want to have that on,
I'm turning it off just to save a bit of time in the video.
But you'll need that to be able to emulate and to play Android apps, or run them,
I should say, on your Windows machine.
Now, click on Next.
Click on I agree, and
just note the directories where it's gonna be putting the SDK.
You may need to refer to that in the future, so it's a good place to know.
Obviously, the installation of the program is fairly standard, but You can see
there it's going to update local android SDK folder, so I may need that later.
Click on next and we're just gonna go ahead and install.
Ok, installation was complete we're gonna click on next,
and we're going to just close and we're going to let Android Studio open as well.
Okay, as you can see it's now checking for updated STK components.
So there's a base STK that's included in that large download but
now it's just looking for anything that's been updated
on Google servers since that package was put together.
So that'll take a few more moments, I'll just pause the video here and
let it do its thing.
Okay, so here it's just finishing off, and everything is now up to date.
And we'll click on finish.
Just a few other things to show you.
Click on configure.
I'm going to project defaults.
I'm going to project structure.
Now that's [INAUDIBLE] I want to show you the locations.
So you can see here in fact what it's done it's configured JDK1.7.
And that's because I had a version 1.7 on this machine, and then I updated.
So it didn't automatically find the 1.8.
Best practice would probably be to make sure you're running version 1.8.
So I'm just gonna go into there,
and I'm gonna go into the Java folder, cuz there'll be another folder there.
You can see JDK.
And I'm just gonna specify the JDK folder and click OK.
And then we know that I'm running the latest version of JDK 1.8.
So you may already be running that but
that's what I needed to do just to make sure, and again, this is if you every need
to know how to find your Android STK location, you can find it on this screen.
Okay click okay to close that down.
Now just another thing to show you.
Click on back there.
You can go back into SDK manager here at any time if you like.
And it's good to do that on a regular basis because you can see what google
has actually updated because they do update their SDK on a regular basis.
And what you can do is if you decided you wanted to access some of this
stuff you could.
So I'm gonna deselect all.
Slide this up so we can see it a bit better.
Now some of the things you'll probably want is some of these images.
Now I haven't actually any images cuz I mentioned earlier that I turned
off the option to download the emulators.
You've got two options here.
You've got a RAM image.
Well, you've actually got three options.
RAM image, Intel X alt 6 Alton_64 and just an Intel regular X alt 6.
Just to be clear, the RAM is the default system image.
And that's for computers if you 4 gig or 6 gig or
less of RAM, you'll probably only be able to use that one essentially.
If you have got more,
if you've got 8 gigabytes or more of RAM you can select one of these.
Now 64 bit doesn't mean 64 bit it doesn't
correlate to the 64 bit CPU in your computer.
What it means it is the 64 bit edition of Android.
You generally won't need that because it's only new with Android Lollipop.
Just this one here would be fine for most cases.
Now just in terms of memory if you do have eight gigabytes of RAM or more
Select the Intel x86 Atom System Image, but then also you want this one here.
This Intel x86 Emulator HAXM.
Now you can see it's already been installed by default, by the system
when we configured it, but if it's not select it, but actually do select that.
And just while we're here, a few other things.
Google Play. So
if you're intending to use Google Play Services,
leaderboards and achievements you'll need to click on that and
any of these other things that are relevant you'll also want those as well.
And the Google USB driver, Is if you're running a Google device like a Nexus 4 or
a Nexus 7.
Click on that so that the USB can connect automatically.
If you haven't got one of those devices.
If you have a Motorola or Samsung or something like that, you'll need to find
the USB driver for Windows for that device and install it on this computer because
you'll need that in future videos when we go ahead and start running it.
Now that's of course if you've got a physical Android device.
If you haven't got a physical Android device,
obviously you don't need a USB driver.
Okay, so moving back up to here.
So again you'd select the relevant image ARM again.
If you've got six gigabytes of RAM or less, I would suggest ARM only.
If you've got more than that Choose into exact six atom system image.
And again anything else that is updated that has previously been stored,
you're kind of message here will say update.
You just click it literally and you come over to here and
you click on Install packages.
And that's not activated at the moment of course because there's no update,
and because it's installed the only option is Delete.
So that's the other thing to keep in mind.
Just another quick point.
I'd also suggest you turn on and install the sources for Android STK.
It is installed now by default, but just in case it isn't, a great way
to see the source code that the programs have used to put together the Android STK.
It's fantastic coding and it can really help your coding as well.
Now looking at professional card.
Finally.
Just want to talk the STK platform and the Google API.
You'll notice there's two essentially the same things.
You might be wondering why is the 2 there?
Well the STK platform is the standard android STK.
The Google APIs is basically an extension.
It's that and
it's also Google's specific functionality such as Google Maps and so forth.
So anything related to Google functionality, so it's good to have both.
And you can see by default, Google have kindly installed both for us.
So that's SDK Manager, let's close that.
And lastly I just wanna go through and show you Updates, how to get into Updates.
Okay, we'll go back to Settings.
I'm gonna scroll down to the bottom and go to Updates.
You've got an option here, you've got a Stable Channel.
In fact, if I click on Check Now there'll probably be an update.
There is. I'm gonna click on Update and
Restart just to show you how to do it.
It's pretty easy.
Good yes.
The good thing about it is Android is patched so
it's not downloading the whole thing for each version which is good for us all.
You can see it's starting down there at the bottom.
Okay so that's gonna restart it.
You can see down here I've got Version 1.0.2.
Now I went into settings before, I'll be going into configure and
clicking on settings, but I can also go down here and a quick way to click on
check to see whether there's an update and then from there I can click on updates
which takes us to the same area that we saw previously.
Now what I wanted to show you was the different versions here.
So you've got stable channel.
So now there's no,
it's not possible to do a check because we've got the latest version.
But there's three other options, beta, dev, and canary, and
essentially these are different versions of what gives you the capability to
download different versions of Android that may not be as stable
as obviously one that's called stable.
So I like to choose Beta.
Beta, depending on how you pronounce it.
Because that's more up to date.
It's more recent.
So we can't actually do an update at the moment because we already just
recently done one.
I think it times out and we need a few moments before we could do it again.
But if I were to do another update now,
there wouldn't in fact be another update available to us.
And that's because these updates haven't been fully tested and
they're released on a more Regular basis in the stable version.
I suggest you set it to beta, because you usually won't have any problems because if
you know anything about Google, you know that they're forever
having products in beta, which can be literally in beta for years.
So just leaving that to beta and you'll be good to go.
And that's a wrap.
We've now got it installed and configured Android Studio and
you're ready to start creating some Android apps.
Please subscribe to my channel,
click on the subscribe button to the left over there.
To be kept up to date with videos as I'm releasing them on a regular basis for
all things Android.
Please also check out my Android Lollipop course.
Over 11,000 or close to 11,000 students have already taken it up.
25 hours plus of video training there,
teaching you how to create a great Andriod app developer.
Now speaking of content, please also get back to me, let me know what you thought
of this video, but also what you'd like me to cover in future videos,
because I'm here to create A great channel for Android app development.
So I need to know some of the things that you're stuck with,
that you'd like to see in future videos, and I'll do my best to address those.
Lastly, check out some of the videos down in the bottom left-hand there,
to my left and sort of down a little bit.
Then you'll see that there's videos there that you can click to get to and
find more Android app goodness.
Okay, so this is Tim Buchalka, the Aussie Android Dev Guy, signing out.
And I'll see you in, wait for it, the next video.
Cheers for now.