Start a free Courses trial
to watch this video
It's easy to start developing apps for Android. To get started, you'll need to download a few tools. This video will show you how to get everything you'll need.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up?[treehouse presents]? 0:00 [Quick Tips] [Getting Started with Android Development with Ben Jakuben] 0:02 Hi, I'm Ben. 0:05 In this Treehouse Quick Tip, 0:07 we'll see how easy it is to get started with Android development. 0:08 All the tools are free, so let's go. 0:11 Now, by far the easiest way to get started 0:13 is to download the free Android development bundle 0:15 from the Treehouse website. 0:18 The links for the bundle are available on the first free stage 0:20 of Build an Android Crystal Ball app. 0:22 The bundle is a simple zip file that contains everything you need to get started. 0:25 All you need to do is unzip it, double click on the file called initial set-up, 0:29 and then start development using Eclipse. 0:33 But, let's also take a look at how to set it up manually. 0:36 The first thing we need is Java. 0:38 It might already be on your computer, but if not you can download it. 0:40 On a Mac, if you don't already have Java, 0:44 you'll be prompted to install it when you try to run Eclipse in a moment. 0:46 If prompted, just click the install button. 0:49 On Windows, you can download Java from Oracle's website. 0:52 Search for JDK 6, click on the first link, 0:55 and then download the JDK. 0:58 Version 6 is currently supported for Android, so be sure to get that one. 1:02 The update number changes frequently, but just make sure to download 1:06 the JDK or Java SE 6. 1:10 On the next screen, accept the license agreement 1:14 and then select the download that matches your operating system. 1:18 For Windows, you'll want either the 32-bit or the 64-bit versions down here. 1:22 Now, let's get the Android SDK from the Android developer site. 1:27 In a browser, open up developer.android.com 1:30 and then click on the "Get the SDK" button down at the bottom. 1:34 Click on the big download button which should auto detect your operating system. 1:39 Unzip or install it once it's done. 1:44 Next, we need Eclipse which is the recommended 1:48 development tool for Android. 1:50 Open up eclipse.org/downloads and then select the latest Eclipse classic version. 1:51 Click on the link that matches your operating system 1:59 and then download here at the top. 2:01 Again, unzip this one once it's finished. 2:04 Once Eclipse is unzipped, open it up. 2:07 If you're prompted to open the application from the internet, 2:12 just click open. 2:15 When you first launch Eclipse, you'll be prompted to set your workspace. 2:17 Go ahead and select the default or browse to a new one if you want, 2:20 check the box that says "Use this as the default," 2:23 and click "OK." 2:26 Okay, let's close this welcome screen, 2:29 and the first thing we need to do is install the Android Developer Tools plugin, 2:32 or the ADT plugin for short. 2:36 In the Eclipse menu at the top, select "Help," "Install New Software," 2:39 click on the "Add" button over here on the right, 2:43 type "ADT plugin" for the name, 2:47 and then we're going to get the URL from the Android Developer site. 2:52 You can find the URL by searching for ADT plugin 2:58 and then clicking on the link that says "Installing the Eclipse Plugin." 3:01 Scroll down just a little bit and copy this URL from the page. 3:05 Back in Eclipse, we can paste this as the location and click "OK." 3:10 If you're behind a firewall or a proxy, 3:15 you might need to do some additional configuration in Eclipse 3:18 to be able to get the ADT plugin. 3:21 Okay, once this list is populated, select the developer tools, 3:23 click "Next," 3:29 click "Next" again for this list, 3:33 accept the terms of the license agreements, and click "Finish." 3:36 During the installation, if you're prompted with a security warning, 3:40 just click "OK." 3:43 When it finishes, it will prompt you to restart Eclipse. 3:44 Click "Yes." 3:47 When Eclipse opens back up, it will prompt you to open the SDK Manager. 3:50 Click on that button, 3:54 and the SDK Manager is used to download other Android tools 3:56 and versions of the SDK that we can use for development. 4:00 You can download as much as you want from here, 4:03 but to get started we want at least the following boxes checked: 4:05 "Tools," 4:08 the "Android 4.1 SDK Platform," 4:09 and the "ARM System Image." 4:13 Then click on "Install 4 Packages" down here on the right, 4:16 click on the "Accept All" choice to accept the license agreements 4:20 for all of the packages, and then click "Install." 4:23 All right, once it's done click "OK," 4:31 and then we can close the Android SDK Manager. 4:35 Now, just in case you're having any problems 4:38 with setting the Android SDK location, 4:40 in Eclipse I want to show you where it is. 4:42 On Windows, select "Window Preferences," 4:43 or on a Mac, select "Eclipse Preferences." 4:46 Click on Android, and then you can set your SDK location here at the top. 4:51 Click "Apply" and then "OK" when you're done, 4:55 but it should be taken care of automatically. 4:57 Okay, lastly let's set up an emulator. 5:00 Click on the "AVD Manager," which is up here at the top, 5:03 next to the SDK Manager. 5:06 The AVD Manager is the one on the right. 5:07 Then, here in the window click on "New," 5:11 type in any name you want--I'll use Android 4.1-- 5:14 from the target, select the Android 4.1 SDK level that we just downloaded, 5:18 and you can leave everything else as is, 5:23 or you can customize it if you want. 5:26 Click "Create AVD," 5:27 click on the emulator, and then click start to verify that everything is working correctly. 5:31 This step might take a while, but as long as the 5:37 Android logo is flashing here with the light sliding across it, 5:39 then your emulator is loading, and you just have to wait it out. 5:42 All right, if the emulator starts up, then you are ready to start coding. 5:47 All right, you now have everything you need to start building apps. 5:52 Good luck and happy coding. 5:55 ?[treehouse]? 5:56 If you'd like to see more advanced videos and tutorials like this one, 5:58 go to teamtreehouse.com and start learning for free. [www.TeamTreehouse.com] 6:02
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up