Well G’day G’day, it’s Tim Buchalka the Aussie Android Dev Guy, and in today’s video, we’re going to go ahead and install Android Studio on a Windows machine. The other thing you’ll need to do before you go ahead with this installation is to have the Java Development Kit installed on your machine. So without further ado, now let’s get into Android Studio installation and configuration for a Windows machine.

The best way to get up to speed is to watch the video on this page.

If you click the youtube logo at the bottom right of the video you can watch this video on Youtube in the proper size.

click-the-youtube-logo

 

Downloading The Installer

Okay, so let’s get started. The first thing you want to do is go to ‘developer.android.com’. Then click on ‘Get the SDK’. On the next page, you want 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 want to Save that to your chosen directory. You’re should then open the installer by double-clicking it and starting it.’. Select ’Run’ and then ’Yes’ you’re okay with running it.

Android Studio Installer Setup

Go through the setup. So here in the setup wizard screen, you’re going to leave the first two activated, that includes the ’Android SDK’. Then you’re going to turn ‘OFF’ the ‘Android Virtual Device’, you’ll normally want to have that ‘ON’. But, you’ll need that to be able to emulate and to play Android Apps, or run them on your Windows machine. Click on ‘Next’. Click on ‘I Agree’. And just note the directory where it’s going to 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 pretty standard You can see that it’s going to be in the ’AppData\Local\Android\sdk’ folder, so you may need that later, click on ‘Next’ to to go ahead and install the Android Studio. Okay, once the installation is complete, you’re going to click on ‘Next’ while leaving the “Start Android Studio” enabled, and we’re just going to close and let Android Studio open.

Okay, so you can see that it’s now checking for updated SDK components. Now there’s a base SDK that’s included in that large download but now it’s just looking for anything that has been updated on Google servers since that package was put together, that will take a few moments. Once it finishes off, and everything is now up to date, you’re going to click on the ‘Finish’ button to complete the setup process.

completing-android-studio-installer-for-windows

SDK and JDK Location

There are just a few other things to show you, click on ‘Configure’, and go into ‘Project Defaults’. Go into ‘Project Structure’. That’s where you will find the locations. Now in my case, what its done is it installed or configured the JDK 1.7 on my Android Studio. Now that’s because I have a version 1.7 on my machine and I updated it, so it didn’t automatically find the 1.8. Best practice would probably be to make sure you’re running 1.8. You’re just going change the JDK location in there and you’re going to go into the Java folder because there will be another JDK folder in there, and you’re just going to specify the right JDK folder, and hit ‘OK’. And then you’ll be running the latest version of JDK 1.8. You may already be running that, but that’s what you need to do just to make sure, and again this is, if you ever need to know how to find your Android SDK location, you can find it on this screen. Okay, click ‘OK’ to close that down.

android-studio-sdk-and-jdk-location-for-windows

SDK Manager

Now just another thing to show you. Click on ‘Back’ until your arrive to the first options in the main Android Studio window. You can go into ‘SDK Manager’ here at anytime if you like. And, its good to do that on a regular basis. Because you can see what Google have actually updated, because they do update their SDK on a regular basis. And, if you decided you wanted to access some of this stuff, you could. So, in the Android SDK Manager you’re just going to ‘Deselect All’ first.
SDK Manager (Images) – Now some of the things you’ll probably want is some of these images. Now I actually haven’t install any images, because I mentioned earlier that I turned off the option to download the emulators. You’ve actually got three (3) options here, an ARM image, an ‘Intel x86 Atom_64’ and just a regular ‘Intel x86’. Just to be clear, the ‘ARM’ is the default system image, and that’s for computers, probably if you’ve got 4-gig or even 6-gig or less of RAM on your computer, you’ll only be able to use that one essentially. If you’ve got 8-gigabytes or more of RAM, you can select one of the other two.

Now 64-bit doesn’t correlate to the 64-bit CPU on your computer. What it means is it’s the 64-bit edition of Android, so you generally won’t need that, because that’s only new with Android Lollipop. Just this one here would be fine in most cases. Now just in terms of that memory, if you do have 8-gigabytes of RAM or more, Select the ‘Intel x86 Atom System Image’, but then also you’ll want this one here ‘Intel x86 Emulator HAXM’ in the Extras section. Now you can see that it’s already been installed by default by the system when we configured it, but if it’s not selected, make sure you do select that.

SDK Manager (Extras) – And just while were here, a few other things Google Play, so if you’re intending to use Google Play Services, the 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. Now 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. You’ve got a Motorola or a 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. That’s of course if you have a physical Android device. If you haven’t got a physical Android device, obviously you don’t need a USB driver.

android-studio-sdk-manager-for-windows

SDK Manager (Images again) – Okay, so moving back up to here again, you’d select a relevant image, ARM again if you’ve got 6-gigabytes of RAM or less, I’d suggest ARM only. If you’ve got more than that, choose the ‘Intel x86 Atom System Image’.

SDK Manager (Installing) – And again, anything else that is updated that was previously released and installed, you’ll get a message here saying ‘update’. You just click it literally and then come over to the lower right side of the SDK Manager window and click on ‘Install packages…’. Now that’s not activated at the moment, because there is no update, and because it is installed, the only option is ‘Delete’.

SDK Manager (Sources) – So that’s the other thing to keep in mind and Just another good point, I’d also suggest you turn on and install the Sources for Android SDK. It is installed now by default, but just in case it isn’t it’s a great way to sort of see the source code that the programmers have used to put together the Android SDK. It has some fantastic coding and it can really help your coding as well.

SDK Manager (SDK Platform and Google APIs) – Finally, I just want to talk about the SDK platform and the Google API. You’ll notice these two (SDK Platform and Google APIs) are essentially the same things, you might be wondering why there are two (2) there. Well the SDK platform is the standard Android SDK. The Google APIs is basically an extension, and it’s also Google’s specific functionality, such as Google Maps and so forth. So anything related to Google and Google functionality, so it’s good to have both. And you can see by default Google has accordingly installed both of those. So that’s the SDK Manager, let’s close that.

Updating Android Studio

And lastly, I just want to go through and show you updates, how to get into updates. We’ll go back to ‘Settings’ in the Main Android Studio window. Now scroll down to the bottom, and go to ‘Updates’. You’ve got tons of options here, right now it is currently set to ‘Stable Channel’. In fact, if I click on ‘Check Now’ on my Android Studio, there’ll probably be an update, and there is. So I’m going to click on ‘Update and Restart’ just to show you how to do it. Click on ‘Yes’ in the User Account Control window. 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.

Okay, so it’s now restarted. You can see the version down here I’ve now got version 1.0.2. Now you can go to the ‘Settings’, by going into ‘Configure’ and clicking on ‘Settings’ or you could also the quick way by clicking ‘Check’ down in your main Android Studio window and see whether there’s an update, and then from there you could click on ‘Updates’. Which takes you to the same area that you saw previously.

Now what I wanted to show you was the different versions. You’ve got ‘Stable Channel’, but now it’s not possible to do a check because you’ve got the latest version installed. But there’s three other options, ‘Beta’, ‘Dev’, and ‘Canary’. And, essentially, these are different versions or gives you the capability to download different versions of Android that may not be as stable as the one that’s obviously called stable.

android-studio-updating-for-windows

So, I suggest you choose ‘Beta’ or beta, depending on how you pronounce it. Because that’s more up to date. It’s more recent, so you can’t do an update at the moment because you’ve already just recently done one, and I think it will time out. You’ll need a few moments before you can do it again, but if you were to do another update now, there would be in fact another update available to us. And that’s because these updates haven’t been fully tested, and they are released on a more regular basis than the stable version. So I suggest you set it to ‘Beta’ because you won’t usually have any problems. Because if you know anything about Google, you know that they’re forever having products in beta, which can literally be in beta for years, so just leave that to ‘Beta’ and you’ll be good to go.

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.

Tim’s Android Development Course

My course contains over Twenty-five (25)  hours of video training. With more being added regularly.
Teaching you, whether you’re a beginner at coding, or more experienced how to be a great Android app developer.  A fraction under 11,000  students have already taken my course and more are joining everyday.   I’d love to see you in there so come and check out what all the fuss is about!

Click here to access my Android Development course

All the best!

Cheers
Tim