All language subtitles for 008 Configure Android SDK on all Three Platforms_en_US

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
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.250 --> 00:00:08.460 In this video we're going to make some configuration changes to Android Studio, 00:00:08.460 --> 00:00:13.379 and also install a few extra options that are useful. So start by launching 00:00:13.379 --> 00:00:16.949 Android Studio and then click on the Configure menu at the bottom of the 00:00:16.949 --> 00:00:20.610 screen down here, as you can see me doing now. So next we have to launch something 00:00:20.610 --> 00:00:25.350 called the SDK Manager. So I'm going to select that, and this is where you manage 00:00:25.350 --> 00:00:29.070 the various components of Android Studio, and make some changes which we're about 00:00:29.070 --> 00:00:33.030 to do. Now when it starts, you may have seen a status at the bottom of the 00:00:33.030 --> 00:00:35.340 window, briefly, while it checked for updates. 00:00:35.340 --> 00:00:39.449 Now this window's actually resizable, even though the icons don't show on windows. 00:00:39.449 --> 00:00:43.340 So you can resize it instead of looking at the various packages in a smallest box. 00:00:43.340 --> 00:00:46.800 I've already done that, as you can see. Okay so at the top of the window you 00:00:46.800 --> 00:00:52.859 can see the path to your SDK, Android SDK location. That's the, SDK stands for 00:00:52.859 --> 00:00:57.809 Software Development Kit. The SDK is all the classes that make up Android, as well 00:00:57.809 --> 00:01:02.370 as things like the emulator and a few other tools. One problem you can get, is 00:01:02.370 --> 00:01:05.700 if you've installed your SDK in a location that contains spaces in its 00:01:05.700 --> 00:01:11.220 path. This can happen on Windows, in particular. Windows allows spaces in user 00:01:11.220 --> 00:01:14.920 names, so your home directory could end up being something like 00:01:14.920 --> 00:01:19.900 C:\Users\Tim Buchalka 00:01:19.900 --> 00:01:24.260 It's not a good idea to use spaces in the names of objects, including directories and user names. 00:01:24.270 --> 00:01:28.770 However, Windows does allow it. If there is a space somewhere in your SDK path, 00:01:28.770 --> 00:01:32.940 you won't be able to make any changes on the screen - everything might be disabled. 00:01:32.940 --> 00:01:36.960 Now this doesn't just affect Android Studio - you'll also get problems with 00:01:36.960 --> 00:01:41.850 other programs if your home directory contains a space. So to proceed in that 00:01:41.850 --> 00:01:46.560 scenario, you'll need to move your SDK folder to a different location, so that 00:01:46.560 --> 00:01:50.640 there's no spaces in its name. Now obviously, you can see in my case, I haven't got any 00:01:50.640 --> 00:01:54.750 spaces so I'm good to go. But if you have got spaces, use your operating system's 00:01:54.750 --> 00:01:59.790 file manager program to copy the SDK directory to another location on Windows, 00:01:59.790 --> 00:02:03.720 and keep in mind this generally only happens on Windows. You could copy the 00:02:03.720 --> 00:02:07.860 Android directory to \users\public, for example. You'll have 00:02:07.860 --> 00:02:11.240 full permissions to public and there'll be no problems moving it there. 00:02:11.240 --> 00:02:15.000 But you can also put it anywhere that you have permission to write to. Just make sure 00:02:15.000 --> 00:02:19.220 there's no spaces in the path. Alright, so this is the Android SDK 00:02:19.220 --> 00:02:24.080 Manager, and from here what we can do is install some additional features, and we 00:02:24.080 --> 00:02:29.810 can also update some components, if in fact, updates are available. So on the SDK 00:02:29.810 --> 00:02:33.590 platforms tab, you can see that all versions of Android that have been 00:02:33.590 --> 00:02:38.940 released there, going way back to 2.1 at the bottom of the screen. So come 00:02:38.940 --> 00:02:43.160 over here and click on the Show package details option, that checkbox. We can 00:02:43.160 --> 00:02:45.890 expand those Android versions and you can see there's quite a lot that you can 00:02:45.890 --> 00:02:50.270 add to each one. There's really no need to install most of the previous Androids, 00:02:50.270 --> 00:02:54.709 and I certainly don't suggest you try to install all of them. The latest Android 00:02:54.709 --> 00:02:58.910 SDK platform also allows you to create apps that run on earlier versions, so you 00:02:58.910 --> 00:03:03.080 don't need the other versions to create your apps. The other thing to be aware of 00:03:03.080 --> 00:03:07.560 is that your SDK directory can get very big if you install a lot of options. 00:03:07.560 --> 00:03:11.480 40 gigabytes is very easy to get to, and that's really without everything installed. 00:03:11.480 --> 00:03:14.500 So if you went a bit mad here, you could end up using an awful lot 00:03:14.510 --> 00:03:18.830 of disk space. However, if you want to preview layouts in earlier Android 00:03:18.830 --> 00:03:22.280 versions, then you will need to install the Android SDK platform for that 00:03:22.280 --> 00:03:25.489 version. Now that probably won't make much sense at the moment but we'll do 00:03:25.489 --> 00:03:28.700 that later in the course, if needed. You can come back in here later, though, and 00:03:28.700 --> 00:03:32.450 install more things, when you've decided that you need them. So there are quite a 00:03:32.450 --> 00:03:36.709 few options here but it looks far worse than it is. The various components are 00:03:36.709 --> 00:03:40.160 pretty much the same for every Android version, so we can concentrate on the 00:03:40.160 --> 00:03:45.230 latest version at the top, android 10.0 Q. Now if you see something there that says 00:03:45.230 --> 00:03:49.070 preview, then you're going to want to ignore that. Don't install anything 00:03:49.070 --> 00:03:53.540 marked preview. Now in this case, because Android Q was released shortly before I 00:03:53.540 --> 00:03:57.110 recorded this video, it's the latest released version and we're not seeing a 00:03:57.110 --> 00:04:00.890 preview version. So anytime we see a preview version, I suggest you ignore it. 00:04:00.890 --> 00:04:05.060 By the way, a preview means it's not ready for release. 00:04:05.060 --> 00:04:08.120 It's basically there for testing for experienced developers and not 00:04:08.120 --> 00:04:12.650 recommended when you're learning to program a specific technology. But if 00:04:12.650 --> 00:04:15.560 you see a later version than this, after you're watching this video, that's not 00:04:15.560 --> 00:04:18.980 a preview, then also feel free to install that as well. 00:04:18.980 --> 00:04:23.620 But as of the time I'm recording this video, Android 10.0 API 29 is the 00:04:23.630 --> 00:04:28.070 latest version, as you can see. Alright so a good guide is to make sure the sources for 00:04:28.070 --> 00:04:32.090 Android option is available, and you can see that's checked on my 00:04:32.090 --> 00:04:35.690 installation. If the sources aren't available, and you can see that they are 00:04:35.690 --> 00:04:39.560 now for Android 10.0, then install the most recent version that does have the 00:04:39.560 --> 00:04:44.750 sources. We're going to install the Android API 29. That may already be installed and 00:04:44.750 --> 00:04:48.260 in fact it is, you can see in my case, but it may or may not be on your computer, so 00:04:48.260 --> 00:04:51.860 check it if it isn't. So specifically, what we want to do is install Android 00:04:51.860 --> 00:04:56.940 SDK platform 29, which is checked, sources for Android 29, which is checked. 00:04:56.940 --> 00:05:01.760 We also want to install this Intel x86 atom system image. I'm going to also come 00:05:01.760 --> 00:05:06.290 down here and select the Google API's Intel x86 atom system image which was 00:05:06.290 --> 00:05:11.900 already checked, and down here Google Play Intel x86 atom system image. 00:05:11.900 --> 00:05:16.490 Don't worry about those Atom_64 images. You'll want them if you're 00:05:16.490 --> 00:05:20.960 writing native coding modules for C, for example, but we won't be doing that. 00:05:20.960 --> 00:05:25.700 These are actually 64-bit versions of Android, but they'll run slower even on a 64-bit 00:05:25.700 --> 00:05:30.230 operating system. This is fairly intuitive: if you untick something it'll be 00:05:30.230 --> 00:05:33.380 uninstalled. Once you've been using Android Studio for a while and you've 00:05:33.380 --> 00:05:36.710 received a number of updates, you may want to remove older versions of some 00:05:36.710 --> 00:05:40.340 components. To do that you just untick the box next to the component, and then 00:05:40.340 --> 00:05:43.460 click on the Apply button. We don't want to remove anything at this stage, so make 00:05:43.460 --> 00:05:46.550 sure you don't untick anything that's already installed. It's not the end of the 00:05:46.550 --> 00:05:49.660 world if you do - you can just come back in here and install it again. 00:05:49.660 --> 00:05:52.480 If you've ticked anything that wasn't already installed, click Apply to install it, and 00:05:52.490 --> 00:05:57.410 I did that so I'm gonna do that. I'm gonna click on OK, and the components 00:05:57.410 --> 00:06:01.010 we download will be downloaded and installed. What we need to do is accept the 00:06:01.010 --> 00:06:04.220 licensing agreement so just click on Accept, for anywhere that there's a little 00:06:04.220 --> 00:06:07.490 red asterix, as you can see there, until you get to the stage that Next is 00:06:07.490 --> 00:06:11.930 available. Click on that, and it's going to go ahead now and download and install what 00:06:11.930 --> 00:06:17.480 we selected on that screen. Just so we can see some of the things that are 00:06:17.480 --> 00:06:21.440 there while it's actually installing; so looking at those components that we've got, 00:06:21.440 --> 00:06:25.250 we've got the Android SDK platform that we selected. Well that's basically 00:06:25.250 --> 00:06:28.820 Android, so we definitely need that. As I said, you only need to install the latest 00:06:28.820 --> 00:06:33.620 version. The next component that we want to install is the sources for Android 29. 00:06:33.620 --> 00:06:36.800 That's the source code for Android and it's very useful when you're using the 00:06:36.800 --> 00:06:40.220 various components in your code. You can go in and have a look at the code for 00:06:40.220 --> 00:06:43.789 Android and get ideas on how it all works. If you're installing a version 00:06:43.789 --> 00:06:46.009 later than APR 29 then the sources may not be 00:06:46.009 --> 00:06:49.940 available straightaway. That's fine - just proceed without them, and keep checking in 00:06:49.940 --> 00:06:53.840 the SDK Manager every week or so, and eventually they'll be available. Check it, 00:06:53.840 --> 00:06:57.680 click Apply and install them. So the remaining components that I selected 00:06:57.680 --> 00:07:01.880 are the system images for the emulators. So an emulator is, basically, an Android 00:07:01.880 --> 00:07:05.750 device running on your computer, and you can use them instead of buying loads of 00:07:05.750 --> 00:07:09.590 Android phones for testing on. We don't need to install all of these, though. 00:07:09.590 --> 00:07:14.360 The first few there are for TVs and Android wear devices; watches and the like. For me, 00:07:14.360 --> 00:07:17.599 they're not currently available under Android 10.0, but note there is options 00:07:17.599 --> 00:07:22.849 down there for Android TV wear devices etc under Android 9, so in time they'll 00:07:22.849 --> 00:07:27.259 appear as well. But we're not covering TV and wearable devices in this course, so 00:07:27.260 --> 00:07:30.000 there's no need to install those emulators if they appear on your list. 00:07:30.000 --> 00:07:35.300 What we did, is install those three emulators; Intel x86 atom system image, 00:07:35.300 --> 00:07:41.980 Google API's Intel x86 atom system image and Google Play Intel x86 atom system image. 00:07:41.980 --> 00:07:44.500 We'll talk more about those a bit later. The reason that there's now three 00:07:44.509 --> 00:07:47.960 different system images, is that Google have included access to the Google Play 00:07:47.960 --> 00:07:52.159 Store on the Google Play images. That means you can install apps from the Play 00:07:52.160 --> 00:07:56.140 Store on the emulator, which is very useful for testing purposes. There is a 00:07:56.140 --> 00:08:00.259 downside though. The Google Play image restricts access just like a physical 00:08:00.259 --> 00:08:03.979 Android device. So there are a fair few things that you can't do with the Google Play 00:08:03.979 --> 00:08:08.719 images, and that's why we also need the Google API image as well. The third image 00:08:08.719 --> 00:08:12.979 I installed, the plain Intel x86 atom system image, well that can be useful to 00:08:12.979 --> 00:08:15.500 check how your app behaves when something like YouTube can't be 00:08:15.500 --> 00:08:18.860 installed. And if your app is going to make use of any Google services, you can see 00:08:18.860 --> 00:08:23.050 what happens when they aren't installed. 00:08:23.650 --> 00:08:27.949 Alright, so you can see at this point now, we're actually finished there. I'm going to click 00:08:27.949 --> 00:08:31.400 on Finish, and that's actually finished it's job. This time we're now going to go back 00:08:31.400 --> 00:08:36.020 up and click on SDK tools, and then we're gonna come over here to Show package 00:08:36.020 --> 00:08:39.829 details and check that box as well. Now quite a lot of the stuff in here 00:08:39.829 --> 00:08:43.279 is now obsolete, and you certainly won't want to install those without a very 00:08:43.279 --> 00:08:47.300 good reason. You can see that the SDK manager includes an option to hide 00:08:47.300 --> 00:08:51.170 obsolete packages and that's ticked by default, which keeps things simpler and I 00:08:51.170 --> 00:08:54.920 generally would recommend you leave that on. Anything that relates to a preview 00:08:54.920 --> 00:08:58.500 version, we don't want to install. So as you scroll down, if you see 00:08:58.500 --> 00:09:02.190 anything that's marked with RC and a number, for example, that stands for 00:09:02.190 --> 00:09:05.880 Release Candidate. It's not a final version and you shouldn't, in general, 00:09:05.880 --> 00:09:10.080 install it. Most of what we want should already be installed, but there may be 00:09:10.080 --> 00:09:13.680 updates available so check the rightmost column to see if any of the components 00:09:13.680 --> 00:09:17.850 are showing update. You can see for me, right now, none of them are. If updates 00:09:17.850 --> 00:09:21.870 are available, make sure they're selected. Click Apply to install them before we 00:09:21.870 --> 00:09:25.350 add anything else. Alright, so in the Android SDK build 00:09:25.350 --> 00:09:31.500 tool section, which was this first section down here, scroll down to the bottom, we 00:09:31.500 --> 00:09:36.340 want the highest version available, and you can see at the moment, that's 29.0.2 00:09:36.340 --> 00:09:38.780 as I record this video, but if you've got a later 00:09:38.790 --> 00:09:42.690 version available and it's not marked as a Release Candidate, then choose that one 00:09:42.690 --> 00:09:45.380 instead. In fact, it should already be installed anyway, and you can see in this 00:09:45.380 --> 00:09:50.460 case, we had it installed for us. So scrolling down now, Google have separated 00:09:50.460 --> 00:09:54.360 the Android emulator from the rest of the platform tools, so we want to make sure, 00:09:54.360 --> 00:09:59.820 if you scroll down here, that Android emulator is checked, the Android SDK 00:09:59.820 --> 00:10:04.470 platform tools are checked and Android SDK tools are checked, and you can see in 00:10:04.470 --> 00:10:07.970 my case, they are all checked. So make sure they are if you're following along. 00:10:07.970 --> 00:10:12.720 But there's two here that I do suggest you check; Documentation for Android SDK, 00:10:12.720 --> 00:10:18.540 check that, and also Google Play Services - I suggest you check that as well. Google 00:10:18.540 --> 00:10:21.840 Play Services provides things like Google Maps, so you can include mapping 00:10:21.840 --> 00:10:24.900 on your apps, so it's a useful thing to install. And the other thing that I 00:10:24.900 --> 00:10:29.640 suggest you install is a Google USB driver, and we click on that. You'll 00:10:29.640 --> 00:10:32.730 need that on Windows and it probably won't appear on a Linux or Mac computer 00:10:32.730 --> 00:10:35.730 installation. On Windows, though, make sure you check it otherwise you'll have 00:10:35.730 --> 00:10:40.020 problems connecting your phone to Android Studio. Now also as we scroll 00:10:40.020 --> 00:10:45.000 down, you can see down the bottom there, the Intel x86 emulator accelerator HAXM 00:10:45.000 --> 00:10:48.360 installer should be ticked already, if you installed that in the previous video. 00:10:48.360 --> 00:10:52.900 And if you had problems installing HAXM earlier, then it's worth ticking it here. 00:10:52.900 --> 00:10:56.880 That way you can run the installer again, if you manage to get VTX working on your 00:10:56.880 --> 00:11:01.530 bios, assuming you don't have an AMD CPU, of course. Now if you enabled the Windows 00:11:01.530 --> 00:11:05.910 hypervisor platform, you don't need HAXM. In that case, leave it unticked and 00:11:05.910 --> 00:11:08.670 that's generally if you've followed along and did the steps I 00:11:08.670 --> 00:11:11.310 outlined in the Windows Android Studio installation 00:11:11.310 --> 00:11:16.830 video for an AMD CPU. Alright so if everything is selected, click on Apply. We're gonna 00:11:16.830 --> 00:11:19.740 click on OK, and we'll let that take go ahead and 00:11:19.740 --> 00:11:23.940 download and install what it needs to. And if you do get prompted for a license 00:11:23.940 --> 00:11:28.020 agreement, then go ahead and select that if it's appropriate. In my case, you saw 00:11:28.020 --> 00:11:31.650 that I didn't get asked for anything so I haven't checked anything. And just a 00:11:31.650 --> 00:11:34.890 reminder that you can go back into the SDK Manager as often as you want to 00:11:34.890 --> 00:11:38.920 install new components or delete ones that you've replaced with newer versions. 00:11:38.920 --> 00:11:42.020 So if you forget to install something, it's really not the end of the world. 00:11:42.020 --> 00:11:46.160 You can come back here and install it in a later time. 00:11:46.160 --> 00:11:51.380 OK so you can see that's now finished. I want to click on Finish. I'm gonna click on OK at this point. 00:11:51.380 --> 00:11:54.320 Alright, so at this point now we're back to the welcome screen and we can end the video. 00:11:54.330 --> 00:11:57.000 So I'll stop the video here but in the next one, 00:11:57.000 --> 00:12:00.480 we'll look at some useful settings that you can make to Android Studio 00:12:00.480 --> 00:12:05.029 to make it a bit easier to use. See you in the next video. 19318

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.