[MUSIC]
Well good day, good day.
It's Tim Buchalka here, I'm the Aussie Android Death guy,
and in todays video I'm gonna go ahead and show you how to configure and
install Android Studio on a Mac.
Now if you're running Windows, or
a Linux platform Click on one of the links to my left and you'll be taken to a video
where I show you how to do what we're doing in this video for your platform.
Now the other thing to keep in mind is you need to have the Java Development Kit
installed before you go ahead with the installation of Android Studio.
Now if you haven't got it installed,
you're not sure you've got it installed, you don't even know what
the Java Development Kit is Click on this thing over to my left and
all shall be revealed in that video, so you need to do that first.
So, let's now proceed with installing and configuring Android Studio on a Mac.
First thing's first, we want to go to developer.android.com.
Once we get there, scroll down,
click on get the SDK Now click on download Android Studio for Mac.
Get ready to accept the license agreement.
And we'll let it download.
Okay, just finishing off the download as you can see.
Okay, we're done.
I'm going to open up that package now, that we've just downloaded.
We're going to double click it and I'm going to just do an installation.
And if you drag the Android Studio icon into the applications folder on the screen
as you can see see that's done, I'm gonna close that now,
we're finished with that, and now we're going to start Android Studio.
Open Close this so we can see it.
And we're going to select I do not have a previous version of Android Studio because
of course this is a new installation.
Click okay.
See it's fetching the STK component information.
That's the latest version as of the time, our date and time of installing it.
Okay, the Wizard starts up, the Setup Wizard.
Click on Next.
I'm gonna choose Custom, Next.
Now, a couple of things here.
So first here I'm gonna click off the Performance Intel Hexum.
The thing is with this Intel Hexum it's a great tool.
To really speed up the speed of your emulator which is the Android virtual
device which enables you to run Android programs, or Android apps I should say,
on your computer, on your Mac, but the problem is if you've got
four gigabytes of RAM or less, or frankly, less than eight gigabytes
You will normally struggle to get it to work because it is a bit of a memory hog.
So there's trade offs.
The trade off by not installing it,
you'll find the emulator takes a lot longer to start up.
So it's definitely recommended if you've got the RAM.
If you've got four gigabytes or less, almost certainly it won't work,
so leave it off.
So I"m going to leave if off for this video anyway.
If you leave it on, no problems, make sure you've got enough memory.
So I"m going to leave the Android virtual device on.
Now also here, this is important to note where the Android SD k location
is going to go in case you ever need that in the future
That's the folder there where it's going to be installed.
Click on Next. Now we're going to click on,
actually the top level was clicked, as you can see there, under the STK license.
We needed to click on Accept,
and that will accept the licenses for all the software.
And see the little icons that will change now.
And I'm gonna click on Finish.
So, at this point it's now going to download the essential Android SDK
information to the computer and set it up.
So, I'm going to pause the video here and come back when it's just about done.
Okay, cuz here we're just about done now.
And, in fact we are now finished.
So, we finished the basic download and configuration, I'll click on finish.
So, now what I want to do is just show you random, just a few little brief things.
Firstly, click on configure, and go into project defaults.
Then click on project structure.
I just want to show you the location, again the android STK location.
If you ever need it, that's how to find it.
We're also at the JDK location.
Now in terms of the JDK location that's the one that
we installed in the JDK video.
You can see that's where it's looking now.
It's automatically founded to find the files that it needs so
that it can actually create Android Apps.
That's the location directory.
Now we can if we want to.
Let's go back.
Going to SDK Manager.
And we can also configure some of the things that were downloaded
automatically in that process you saw.
So we can go through and add a few extra things.
But you see at the moment it's just downloading the bits and
pieces that it needs.
Just sorta checking against the repository on Google service somewhere
against what we've got installed on this computer.
That's going to let us know what hasn't been stored and
what's available, so it's a good thing to check in here from time to time to see
that you're up to date with the latest fixes and
such because one good thing about Google is they constantly update this.
Okay, that's done so i'll just move it to the side so it's easier to see.
Now, if we scroll down, we can see that the ticks,
you can see over here firstly whether something's been installed or not.
In this case we've got the SDK platform Documentation,
I would usually suggest you wanna do that.
So what I start off doing,
I'd deselect all, then I'd normally select what I wanna install.
So I'd maybe click on documentation, Now what's installed are the Google APIs.
So there's Google API.
There's also the SDK.
And the differences between the two are STK is the sort of raw Android platform,
the raw STK, I should say, and
the Google API is very similar, but it's specific to Google.
So, in other words, it's got additional Google Maps and
those types of things also included.
It's specific Google APIs on top of that, as well.
So, it can be a good idea to have both, and you can see that Android Studio has,
in fact, selected both.
There's also a number of these other system images.
Now these are for Android virtual devices.
This is if you haven't got a physical Android device, and
you want to go ahead and set up an emulator.
So you choose, you don't normally need to choose more than one, ARM is the one that
you'll need if you haven't got HAXM installed you'll need to specify that.
And only use that.
The Intel x86, there's a 32-bit version and
a 64-bit version that will only work with hexam if it's installed.
Now just to note here, you might be looking at the 32 and 64.
This has got nothing to do with the CPU that's on your computer.
This is the emulation Of a 32 byte version of Android or a 64 byte of Android,
a 64 version or a 64 byte version of an Android system image.
Normally the 32 byte version would be more than enough.
So you'd select that again if you had.
If you got hex you don't need either, it's usually one or the other.
So I'll leave that, and in my case I'm gonna leave intel off,
excite 6 off because of course I didn't specify hexum.
The other good thing which you can see is already installed is the source,
it's really good because google provide all the android Source code so
you can get in there and see how something's done.
And sometimes if your curious like I am it's good to go in there and
see how the professionals have done it.
I always do that it's also good because in later videos I'm gonna show you how to,
Navigate around projects and it's easy to click into the packages themselves and
literally to save the Google source code so I always install that as well.
Now scrolling down there can be few other things you may need we've got somethings
installed we got the Android support repository in the Google repository.
Google Play services.
So if you are running a game that uses Google Play,
you'll need to click on that to activate it.
And some of these other ones, which we won't go into now.
Because this is a Mac, the Google USB driver isn't needed.
And this is the Hex so even if you forgot to do it earlier,
you can still come back here and install it.
So I might show you that in a future video.
So you would then click on Install, which I'm not gonna do now,
and that will download and install those extra packages.
so that you can use them in your projects.
Last thing I want to close down now.
I want to show you updates.
Click on preferences.
We go right down to updates, down on the bottom.
This is another way to be kept up to date with Android Studio.
You can see now, if I do a check right now So a new version's there,
so I'm gonna click on update and restart cause it only takes a moment.
Then we're just gonna go back in there again.
Cuz I also wanna show you, cuz there's different
updates available depending on how cutting edge you wanna be.
There's a stable version which is a stable version I've just installed now.
But there's also different channels that Google refered to them as where you
can define whether you want more frequent updates to more beta versions,
cutting edge versions, those types of things.
Okay, we'll just do that, we'll go back to configure again, go back into preferences,
we'll go into update Or updates it should say.
Now as you can see I just installed that.
But there are also these other channels depending on here
how bleeding edge you want to be you can specify different channels.
So for example if I choose beta well first let's go back to stable again,
I click on check and there won't be an update because we've installed it.
And so you've got the latest version.
If we go back to beta, you'll find out that there is a version.
And that's because they release a candidate by the time I'm shooting a video
has been made available.
So if you want to keep up to date, that's the way to do it.
And you can take that further and go right down to
canary channel if you want which is really literally a daily release so you will get
problems more than likely time to time depending on which version you chose.
You can see at the moment they are on the same version.
That can change.
What I would recommend normally,
you are safe going to the beta channel and selecting that.
I just means you aren't sitting around waiting for these changes particularly if
it's an annoying fix, it takes a long time to go Move right up to stable.
So I would suggest that you choose Beta.
But that's that.
And that's a wrap.
We've now gone ahead and installed and configured Android Studio.
And we're up and going, 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, and be kept up to date
with videos, as I'm coming out and 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 become a great
Android 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 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 me to cover, 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 at the bottom left-hand there,
to my left and sort of down a little bit.
And you'll see that there's videos there.
So you can click to get to find more android up goodness.
Okay so this is Tim Buchoko the Ozzy Android death guy signing out,
and I'll see you in, wait for it, the next video.
Cheers for now.