Android Studio is Google's official tool for building Android apps. In this course, see where you can find and download Android Studio and how to install the application.
- [Instructor] Android Studio is the app we're going to be using to develop all of our code and user interfaces for our Android apps. An app that allows you to do those things, write code and develop user interfaces, is called an integrated development environment or IDE. Android Studio is the official IDE for Android. You can find it at developer.android.com/studio. From there, you should see a link to download Android Studio for your current operating system.
Since I'm on a Mac, I see the link to download it for Mac. When you click that link, you're shown the terms and conditions that you'll need to agree to before downloading and installing Android Studio. You can check the box and then hit the link to download Android Studio for your operating system. On Windows, you're going to get an EXE file, but on Mac you'll get a DMG file. I'm going to walk through installing it on Windows first, so you Windows users can begin the installation process while us users on the Mac can install it as well.
On Windows, open up that EXE file. From there, you're asked where you want to install Android Studio and whether you want to install the emulator. Make sure you also install the emulator and then click through the installation process. Once the installation process is complete, choose to open up Android Studio and then we'll catch up with you on the Mac in just a minute. Open up this DMG file and I'll drag Android Studio into the Applications folder.
Now, that it's installed, open up the Applications folder and then open up Android Studio. You may need to confirm that you do want to open this application. If you don't see this popup, you might have to right-click and choose Open to open the file. If you have third-party apps blocked in your system preferences on the Mac, you might have to go to your security settings to allow installing apps from outside of the app store. From here, make sure to hit Open and then when Android Studio opens up, and this happens both on Windows and Mac, when you launch Android Studio for the first time, you're going to be asked if you want to import settings from a previous installation.
However, the popup that asks you that actually comes up behind everything else, so it's a pop behind. I'm going to close these windows and then I see this Complete Installation. You can also Command or Alt + Tab over to Android Studio to make it come to the front. Let's choose not to import any settings and then we can begin setting up Android Studio for development.
Click Next to go through the wizard and then instead of using the Standard installation, we want to use the Custom installation because this is going to install something that saves us a little bit of time later on. Hit Next from here. Choose the default UI theme if you want your screen and code to look like mine. If you're feeling a little brave and you really like the dark look, you can do that as well, but just know it might be a little bit more difficult to follow along for new programmers. Then, hit Next. Now, this screen here is why we choose to use the Custom setup instead of the Standard.
It gives us an option to install an Android Virtual Device. As part of running an application in Android, you need some kind of device to run your application on. That device can be either your Android device that you own, a physical device, or it could be a virtual device. In other words, something that runs on your computer. That's what we're going to be using for this course. When you create an Android Virtual Device in Android Studio, there are a lot of steps to go through because you can choose all kinds of different devices from different manufacturers.
This option gives us a default device to work with that's already configured for use, thus saves us a few minutes of time. Make sure to install that Virtual Device and then hit Next. Then, you're asked how much RAM you want to dedicate to this virtual device. I recommend using the Recommended settings. If you want to use more RAM or less RAM you can, just know that that might impact the performance of either your computer or the emulator.
The lower the RAM dedicated to the emulator, the slower the performance of the emulator. Higher the RAM dedicated to emulator, the slower performance of your computer. Your call, again, I say stick with Recommended and we'll hit Next. Once you're ready to install these components, hit Finish. This process may take a few minutes, so I recommend taking a break, doing something else for a few minutes and coming back and checking on it. During the installation process, you may see a popup that asks you to approve changes made to your computer.
For this, you might have to type in your password. Once you've done that, just hit OK and continue through the installation. Once you've gotten to this point, it should finish up pretty quickly. Once the installation process is done, you can just hit Finish and go see the Android Studio Welcome screen.
- Installing Android Studio, Android SDKs, and build tools
- Working with variables
- Using methods
- Connecting interface elements to methods
- Controlling flow with conditional statements, arrays, and loops
- Designing the interface
- Using themes
- Building an Android app from start to finish