Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
WEBVTT
Kind: captions
Language: en
00:00:04.279 --> 00:00:08.490
In this video I'm going to show you how
to download and install Android Studio,
00:00:08.490 --> 00:00:12.299
which is the program we're going to be
using to write our Android applications
00:00:12.299 --> 00:00:16.530
in this course. Just a reminder that
this is the Windows video, so if you're
00:00:16.530 --> 00:00:21.210
running a Mac or Linux machine, refer to
a separate video in this section where you
00:00:21.210 --> 00:00:24.630
can follow along for the installation
instructions for those operating systems.
00:00:24.630 --> 00:00:28.140
So moving forward, presuming you're on
Windows. At this point, I'm going to
00:00:28.140 --> 00:00:32.759
assume you're running a 64-bit version
of Windows. There's a - swing over to this
00:00:32.759 --> 00:00:36.749
link here on screen - and there's a link
to this in the resources section of this
00:00:36.749 --> 00:00:42.719
video. The 32-bit Android studio has been
deprecated, meaning that it won't be
00:00:42.719 --> 00:00:46.499
supported for much longer
by Google. So this blog post - again you
00:00:46.499 --> 00:00:50.159
can find the link to in the resources
section - but it's not a bad thing because
00:00:50.159 --> 00:00:55.530
using Android Studio on a 32-bit system
wasn't a good experience. And that's
00:00:55.530 --> 00:00:59.940
because 32-bit versions of Windows have
limitations on the amount of RAM that
00:00:59.940 --> 00:01:05.370
they can use. In fact only 3.5 gigabytes
of RAM can be addressed by 32-bit
00:01:05.370 --> 00:01:09.030
versions of Windows; and that's really
going to make life hard for you as
00:01:09.030 --> 00:01:13.650
an Android developer. Android Studio
really needs more memory to operate
00:01:13.650 --> 00:01:17.730
effectively. So to check if you're
running a 64-bit or 32-bit version of
00:01:17.730 --> 00:01:22.050
Windows, you just come down here to the
search window, you can either type 32 or
00:01:22.050 --> 00:01:26.520
type "about", and that will bring you to
either about your PC or if you get this
00:01:26.520 --> 00:01:30.480
opportunity and see if you have a 32 or
64-bit version they should both take you
00:01:30.480 --> 00:01:35.700
to this about page, as you can see here.
Then under device specifications you can
00:01:35.700 --> 00:01:40.860
see it says system type. Now this says
64-bit operating system, and that means
00:01:40.860 --> 00:01:43.770
you've got a 64-bit installation and
you're good to go.
00:01:43.770 --> 00:01:48.000
Otherwise it'll say 32-bit, and that
would obviously mean you're running a
00:01:48.000 --> 00:01:51.780
32-bit installation of Windows. Ignore
the processor bit, on the right-hand
00:01:51.780 --> 00:01:56.730
side, it's the Windows installation type
that we're after. So if your screen looks
00:01:56.730 --> 00:02:01.200
like this one, and says 64-bit, keep
watching the video and follow along. But
00:02:01.200 --> 00:02:05.580
if yours says 32-bit then you're
probably going to have problems with this
00:02:05.580 --> 00:02:09.360
course with that version of Windows.
There is a version of Android studio
00:02:09.360 --> 00:02:14.220
that I alluded to that you can install,
for a 32-bit version Windows, but that's
00:02:14.220 --> 00:02:17.440
again not going to be supported for much
longer.
00:02:17.440 --> 00:02:20.950
Good news is though that, unless you
bought your computer a really long time
00:02:20.950 --> 00:02:25.290
ago, the chances are pretty high that
you've already got a 64-bit cpu
00:02:25.290 --> 00:02:29.290
installed, even if you haven't
necessarily got a 64-bit version of
00:02:29.290 --> 00:02:33.310
Windows. So if you really want to get
into Android development then I suggest
00:02:33.310 --> 00:02:38.080
that you would install a 64-bit
operating system. Now you'll probably have
00:02:38.080 --> 00:02:42.760
to pay to upgrade windows to 64-bit, but
another alternative you can also
00:02:42.760 --> 00:02:47.260
consider is installing a Linux operating
system - such as Ubuntu. And you can dual
00:02:47.260 --> 00:02:51.370
boot that on your Windows machine. And
that's a lot cheaper, and in fact it's
00:02:51.370 --> 00:02:54.670
free. But obviously you need to invest
some time in learning a new operating
00:02:54.670 --> 00:02:58.510
system, in that scenario. So moving
on now, I'm going to assume that you're
00:02:58.510 --> 00:03:03.250
running a 64-bit version of Windows. The
next thing I want to do is check the CPU.
00:03:03.250 --> 00:03:07.060
So while we're on this screen, you can
take a look at the processor, and note
00:03:07.060 --> 00:03:11.770
that for me it says Intel but depending
on your computer you may see Intel or
00:03:11.770 --> 00:03:17.500
another option such as AMD. So if the
processor is Intel, as mine is, then you're
00:03:17.500 --> 00:03:22.330
good to go. However if the processor was
AMD then there's another step to
00:03:22.330 --> 00:03:25.620
perform. And things are slightly
different because it's an AMD processor.
00:03:25.620 --> 00:03:30.790
So in that scenario, if you do see AMD - if
and only if - you want to come down to the
00:03:30.790 --> 00:03:35.590
bottom of the screen down here. I'm going
to type "turn windows" until we get this
00:03:35.590 --> 00:03:38.410
option here to Turn Windows Features on
or off. Or you may need to go into
00:03:38.410 --> 00:03:43.989
control panel and find that. And again, if
you're on an AMD processors only,
00:03:43.989 --> 00:03:48.190
let's go down to the bottom here and
we're looking for Windows Hypervisor
00:03:48.190 --> 00:03:52.660
Platform. And you can see the check box
is off for me, but what you'll need to do
00:03:52.660 --> 00:03:56.019
if you're on an AMD is check that and
click OK.
00:03:56.019 --> 00:03:58.660
Obviously I'm not going to do that,
because you can see that I'm running a
00:03:58.660 --> 00:04:02.350
Intel CPU in my scenario. What will happen,
when you do that and you're running an
00:04:02.350 --> 00:04:06.250
AMD CPU, it'll adjust windows, change some
settings, and probably require you to
00:04:06.250 --> 00:04:11.440
reboot. So do that if you're on an AMD
CPU, and then come back to this point in
00:04:11.440 --> 00:04:16.000
the video and continue on as per normal.
Alright, so in my case, again, I mentioned
00:04:16.000 --> 00:04:19.959
that I'm on Intel so I'm going
to cancel that, close down this, and
00:04:19.959 --> 00:04:23.530
we're now what we're going to do is go
back to the google search engine, and
00:04:23.530 --> 00:04:27.250
we're going to install Android Studio.
So first things first we want to find
00:04:27.250 --> 00:04:31.240
it and then the easiest thing to do is
just do a search for install android
00:04:31.240 --> 00:04:37.870
studio. And you want to click the
first developer.android.com link here
00:04:37.870 --> 00:04:42.400
you can see that one says studio install
which is correct. Come over here and click
00:04:42.400 --> 00:04:46.479
on "Download the latest version of
Android Studio" and this should give you
00:04:46.479 --> 00:04:50.620
straight away the released latest
version of Android studio. If there are
00:04:50.620 --> 00:04:54.250
options to click over here where you can
download other options, a 32-bit version
00:04:54.250 --> 00:04:57.430
and so forth that we don't recommend, but
we're not going to do any of that. I'm
00:04:57.430 --> 00:05:01.539
gonna go back and obviously down here it
tells us that it's the windows 64-bit.
00:05:01.539 --> 00:05:06.610
I'm going to click on that, I'm gonna
click on I've read and agree, click on
00:05:06.610 --> 00:05:09.970
download Android studio for Windows. I'm
just going to run that when it's
00:05:09.970 --> 00:05:14.349
finished, so while that's downloading
keep in mind that the 3.5 you see there
00:05:14.349 --> 00:05:18.220
may be a higher number,
when you come to download that. And the
00:05:18.220 --> 00:05:23.560
reason for that is Google, who own the
Android product, they release new
00:05:23.560 --> 00:05:27.849
versions of Android Studio on a regular
basis. So it's very hard, because they
00:05:27.849 --> 00:05:31.900
release so many updates a year, to keep
these installation videos updated. But
00:05:31.900 --> 00:05:34.930
the good thing is that generally the
installation is very similar to what
00:05:34.930 --> 00:05:38.590
we'll go through in this video. So if you
see a later version there, on the same
00:05:38.590 --> 00:05:42.610
screen that I've got on now, then you can
just proceed and download that
00:05:42.610 --> 00:05:47.229
newer version, and you're good to go.
Ok you can see we're just about done
00:05:47.229 --> 00:05:51.969
here now. we'll let it run its security
scan, and then it'll probably ask us to
00:05:51.969 --> 00:05:57.280
update something. What I'm gonna do is
just close down the browser, because we're
00:05:57.280 --> 00:06:04.479
finished with it anyway, and you may or
may not see this pop up on screen. But
00:06:04.479 --> 00:06:08.110
it's asking is do we want to allow this
app to make changes to your device. So
00:06:08.110 --> 00:06:12.280
I'm going to select yes to that, and that
will continue the installation. Click on
00:06:12.280 --> 00:06:15.849
Next. We're going to make sure both these
options are checked, the first one we can't
00:06:15.849 --> 00:06:20.349
uncheck anyway. Make sure Android Virtual Device is checked, click on Next. We're
00:06:20.349 --> 00:06:26.289
going to install to the default location,
Next, and click on Install. We'll let that go
00:06:26.289 --> 00:06:32.229
ahead and complete. Ok, that's now
completed. We'll click on Next and we'll
00:06:32.229 --> 00:06:37.180
click on Finish, noting the checkbox for
Start Android Studio is checked - and
00:06:37.180 --> 00:06:40.150
that's obviously going to do just that.
You'll get this option if you haven't
00:06:40.150 --> 00:06:43.389
installed Android studio on your
computer before. It's giving us the
00:06:43.389 --> 00:06:47.139
option to load the settings, or a configuration, from another
00:06:47.139 --> 00:06:50.860
installation. We haven't got one, we're
starting from fresh, so I'm just going to
00:06:50.860 --> 00:07:00.849
click on OK. Next we've got a wizard
that's popped up. I'm gonna click on Next
00:07:00.849 --> 00:07:07.750
here, and we'll come over and click
Custom. Next you got a choice of themes
00:07:07.750 --> 00:07:11.259
here. I'm going to leave it on white as
the white background, because that comes
00:07:11.259 --> 00:07:15.099
up better in videos, but you might want
to choose Darcula, which is usually, or
00:07:15.099 --> 00:07:17.740
certainly something, that a lot of
students would prefer. Because it's a
00:07:17.740 --> 00:07:22.449
little bit easier on the eyes. So choose
the one you like, click on Next. Here we
00:07:22.449 --> 00:07:25.419
want to make sure that we've got
everything checked. However there are
00:07:25.419 --> 00:07:29.710
some notes to keep in mind, or things to
keep in mind, about Intel HAXM. We
00:07:29.710 --> 00:07:35.319
specifically do not want to install
Intel HAXM if you're running an AMD CPU
00:07:35.319 --> 00:07:39.969
or processor. Now the reason for that is
that the HAXM, which is a product that
00:07:39.969 --> 00:07:43.930
actually speeds up and come over here and check it; it tells the over there that
00:07:43.930 --> 00:07:47.860
it enables a hardware-assisted
virtualization engine - basically speeds
00:07:47.860 --> 00:07:52.629
up the Android app emulation. Now that's
been written by Intel, and what they've
00:07:52.629 --> 00:07:57.250
done is specifically make it not work
with non Intel CPUs. So therefore it
00:07:57.250 --> 00:08:01.150
makes no sense to install it if you're
on an AMD CPU - and in fact you'll get
00:08:01.150 --> 00:08:06.069
errors. So make sure you deselect that if
you are not on an Intel CPU, for that
00:08:06.069 --> 00:08:10.330
reason. In my case, I am on an Intel CPU as
we saw early in the video. I'm going to
00:08:10.330 --> 00:08:14.879
check it, click on Next, and this will
only pop up obviously if you selected to
00:08:14.879 --> 00:08:19.990
check the box for HAXM. This is the
amount of RAM in your computer you want
00:08:19.990 --> 00:08:25.419
to dedicate to HAXM. again to speed up
your Android app emulation. It's usually
00:08:25.419 --> 00:08:29.379
okay to just leave the default - in my
case it's suggesting two gigabytes of RAM.
00:08:29.379 --> 00:08:33.880
As a general piece of advice, if you've
got less than 8 gigabytes of RAM total
00:08:33.880 --> 00:08:37.300
on your computer, do some research and
see if your computer can be upgraded to
00:08:37.300 --> 00:08:42.190
8 gigabytes or even better 16 gigabytes.
Memory is relatively cheap, and it will
00:08:42.190 --> 00:08:45.579
make a big difference in the performance
of Android studio and the emulators etc.
00:08:45.579 --> 00:08:49.959
But in terms of the RAM you've got on your
computer now, if you've got 8 gigabytes or
00:08:49.959 --> 00:08:53.949
more of RAM in your computer, leave it as
the default that's been selected
00:08:53.949 --> 00:08:57.810
automatically within by the Installer.
But if you've got less than 8 gigabytes
00:08:57.810 --> 00:09:01.540
then you'll need to allocate less to HAXM. Depending
00:09:01.540 --> 00:09:04.390
on just how much memory you've got in
your computer, you may need to reduce
00:09:04.390 --> 00:09:09.100
that to one gigabyte or even 512
megabytes. So I'm going to go ahead and
00:09:09.100 --> 00:09:11.980
continue the installation of HAXM
because probably the majority of
00:09:11.980 --> 00:09:16.089
Windows computers out there do have
Intel CPUs, and obviously we established
00:09:16.089 --> 00:09:19.360
earlier in the video that mine has. So
I'm going to leave the defaults here, and
00:09:19.360 --> 00:09:24.220
click on Next. Then we're going to click
on Finish and we're going to see that
00:09:24.220 --> 00:09:27.670
there's a download going to take
place, so I'm just going to fast forward
00:09:27.670 --> 00:09:31.529
this and we'll come back when it's
reached the next step.
00:09:34.870 --> 00:09:39.560
Okay so the installation's continued.
You're now automatically being prompted to
00:09:39.560 --> 00:09:42.830
allow this app to make changes to
devices. And this is because I've
00:09:42.830 --> 00:09:46.820
selected HAXM, so you may not see this.
And if it comes up with a pop up, just click
00:09:46.820 --> 00:09:50.390
on Yes to windows command processor and it's actually going now you can see down
00:09:50.390 --> 00:09:54.140
the bottom it's running the Intel HAXM
installer. And if you tried to do this on
00:09:54.140 --> 00:09:58.250
an AMD machine with an AMD CPU, so
there's a processor, you won't get an
00:09:58.250 --> 00:10:02.710
error. I'm just going to pop up on the
screen what that will look like.
00:10:02.990 --> 00:10:06.740
You can see, in my case, it was
successfully installed. Now there can be
00:10:06.740 --> 00:10:12.040
reasons why the HAXM installation will
fail, even if you are on an Intel CPU, and
00:10:12.040 --> 00:10:16.100
usually it's got to do with a BIOS
change on your computer that you need to
00:10:16.100 --> 00:10:19.129
change. So if you do find that you're
going to error similar to the one you
00:10:19.129 --> 00:10:22.910
can see on screen now, and you have got
an Intel CPU, then it might be worth
00:10:22.910 --> 00:10:27.980
checking that VTX is enabled in your
computer's BIOS. And there's a video in
00:10:27.980 --> 00:10:31.249
this section of the course with the
title "Enable VTX
00:10:31.249 --> 00:10:34.399
in BIOS" which you can check out, which
should give you the information you need
00:10:34.399 --> 00:10:38.449
to make that change in your computer. But
in my case you can see that I was
00:10:38.449 --> 00:10:42.170
successful in installing HAXM, and in
fact the Android installation, so I
00:10:42.170 --> 00:10:46.939
can click on Finish. At this point we've
done the basic installation of Android
00:10:46.939 --> 00:10:51.860
Studio, so in the next video we're going
to look at configuring Android Studio. So
00:10:51.860 --> 00:10:55.970
do note that I've got a Mac and a Linux
Android Studio install video coming up
00:10:55.970 --> 00:11:00.050
in the next two videos, so skip those two
videos unless you want to also install
00:11:00.050 --> 00:11:03.829
Android studio on a Mac or Linux machine.
What you want to do is now go to the
00:11:03.829 --> 00:11:08.540
video titled "Configure Android SDK on
all three platforms" and there we'll go
00:11:08.540 --> 00:11:12.259
through the configuration steps we need,
to get up and running in Android Studio.
00:11:12.259 --> 00:11:16.209
So I'll see you in the next video.
16930
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.