Welcome to my tutorial on how to Install Android Development Tools. I received many requests on how to do this and it is a great topic to cover right before I start my Android Development Tutorial.

I’ll cover how to install Googles ADT plugin, all of the common errors people get and take you through running your first app. Many important things need to be pointed out like the fact that Googles emulators are terribly slow. If you haven’t installed Eclipse yet, definitely checkout my tutorial Install Eclipse for Java first.

If you like videos like this, it helps to tell Google + with a click here

Step-by-Step Way to Install Android Development Tools

Installing the Android SDK on Mac and PC
1. Don't get the Android Developer Tools at http://developer.android.com/sdk/index.html
2. Install Eclipse for Java - Eclipse IDE for Java Developers - http://www.eclipse.org/downloads/packages/release/indigo/sr2
a. Make sure the path to Eclipse doesn't contain any spaces. If it does then expect errors. Here is mine in Windows C:\Users\Derek\Documents\eclipse-java-indigo-SR2-win32-x86_64\eclipse
3. Eclipse - Help - Install New Software
a. Work with: Click Add
b. Name: Android Developer Tools
c. Location: http://dl-ssl.google.com/android/eclipse/
d. Shows list of plugins - Click Next
e. Accept the license agreement - Next - Finish
f. Restart Eclipse
g. Help - Check for Updates to update the ADT
4. Create a new project - File - New - Project - Android Project Application
a. Application Name: HelloWorld
b. Replace example in Package Name with your web address
c. Define the version of the Android SDK you plan to develop with
5. Setup an Android Virtual Device
a. Windows users will have to open the Android SDK Manager
b. Select the chosen emulator and click start
c. Wait it is terribly slow and it normally crashes the first 3 times
6. If you have trouble executing check in folders res - layout. If you see a file named activity_main.out.xml delete it. Then click Project - Clean in the top menu bar
a. Select HelloWorld in the Package Explorer and then run the emulator
b. You can help solve this error by going : Preferences - Run/Debug - Launching - Launch Operation and then check Always Launch Previously....

I came across your tutorials and I really like them. Looking forward to see some real application development examples. Thank you for sharing the knowledge with the Android community. I really appreciate.

You just need to understand the basics of Java to program with Android. Here is my Java video tutorial. All you need to watch are parts: 1 -7, 9, 11 – 18 and you should be ready to go. Feel free to ask questions

Derek, many thanks for the Java, Android tutorial series. I had Eclipse installed previously and it had worked flawlessly. However, after having installed Android Studio recently, the Eclipse stopped working (couldn’t find java). I’d tried to reinstalled Eclipse following your steps, however, now I just got Eclipse flashing for a second, then nothing happened. The 2nd time on, nothing happened.

I also tried to uninstall Android Studio and then reinstalled Eclipse, but still cannot start Eclipse.

Joe, You are very welcome 🙂 I’m happy that you are enjoying the tutorials. Yes Android Studio is a nightmare and it will probably continue to be so for some time. I have 2 tutorials that should set everything straight. Look at Install Eclipse for Java and then Solving Android SDK Problems. Together they should fix everything up.

I get this message. I am not able to complete the install. What are your thoughts? Thanks!!

Cannot complete the install because one or more required items could not be found.
Software being installed: Android Native Development Tools 22.0.1.v201305230001–685705 (com.android.ide.eclipse.ndk.feature.group 22.0.1.v201305230001–685705)
Missing requirement: Android Native Development Tools 22.0.1.v201305230001–685705 (com.android.ide.eclipse.ndk.feature.group 22.0.1.v201305230001–685705) requires ‘org.eclipse.cdt.feature.group 0.0.0’ but it could not be found

I followed the instruction and so far the only problem I see is that, the “status” column in Android Device Manager has different icon for “Installed” packages. The check icons in front of the word Inslled are all red instead of usual green. Is this a problem?
Thanks,

What I’d really like to see as a tutorial is what to do if I already have an .apk file (from an app building site) and all I need to do is preview it on the emulator – what software to download and use just for that purpose.

Try the following
Window -﻿ Preferences – Android – SDK Location – Locate the folder (Run SDK﻿ Manager to find path OR search for a folder named sdk on your computer)
OR Help -﻿ Check﻿ for Updates
More things to try stackoverflow. com/questions/6219588/eclipse-­­­­will-not-find-adb-exe-or-sd­k­﻿

hello sir
I have problem while launching emulator for AVD MyNexus7.It gives the Error of emulator-arm.exe has stopped work and Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please tell me what should I do.

I show exactly how I set up my emulator on this page Solving Android SDK Problems. Scroll past the video and you’ll see it. You may have to delete your other emulators first and then start from the beginning

Cannot complete the install because one or more required items could not be found.
Software being installed: Android Native Development Tools 22.0.5.v201307292155–757759 (com.android.ide.eclipse.ndk.feature.group 22.0.5.v201307292155–757759)
Missing requirement: Android Native Development Tools 22.0.5.v201307292155–757759 (com.android.ide.eclipse.ndk.feature.group 22.0.5.v201307292155–757759) requires ‘org.eclipse.cdt.feature.group 0.0.0’ but it could not be found

Hey, got the bug where I couldn’t finish setting up the Android Virtual Device but when I went into the Android SDK manager the Mips System image isnt stated under Android 4.3 and when selecting an Android version to base the virtual device off that is the only version I am allowed to choose. What should I do?

You don’t need to watch all of the Java tutorials for Android. You need 1 – 7, 9, 11 -﻿ 13, 17, 18 and parts 1 and 2 of my design patterns tutorial. Watch parts 1 and 2 of the design patterns tutorial after part 9 of Java and you’ll be ready for Android.

Hi, I haven’t looked at the course, but I’m sure it is probably very good. I think it is a great idea to watch tutorials and read articles from many different sources. Stick with Android and you’ll get it. It is only complicated in the beginning.

Thanks for the huge effort you’ve put into making such great Android tutorials. I just can’t get enough of watching them and following along.
They are definitely the exact kind of thing to get me going with Android app development. I consider your tutorials to be the best thing around in this field, especially when it comes to getting started from nothing.

Hi Derek.
i did everything the tutorial said but when i restart eclipse to start a new project it says i need something called SDK. i don’t know what that is and you don’t seem to get that message in your video so i was wondering if you could explain what i should do..

Hey Derek , thank u for all this great tutorial , really appreciate your amazing effort , i wanna be a professional in the android Development where i must start? is java and xml necessary and if yes for any level ?
thank you again , keep it up . peace

Thank you 🙂 You basically need to understand the basics of Java. If you watch parts 1 – 7, 9, and 11 through 18 of my Java video tutorial you should be ready to go. You don’t need to be an expert at using XML, but I have an XML tutorial if you’d like to look at it. I wish you the best!

Another fine tutorial. My compliments. I am looking to develop iOS applications on a Linux platform. If this capability becomes available, I would apprecite tutorials on that subject matter. Thanks for the great tutorials Derek.

Thank you 🙂 I haven’t been making iOS apps for the past 2 years. All my clients want personalized apps and iOS doesn’t allow for that. As per your question on whether you can develop for iOS on Linux I found this http://try.macbuildserver.com/

hello admin i got error while starting up the emulator
Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application’s support team for more information.
????