• Home
  • Tutorials
    • Game Development Tutorial>
      • Unit 1: Beginning Java>
        • Before you begin...
        • Day 1: Setting Up
        • Day 2: Java Basics
        • Day 3: More Basics
        • Day 4: Java Math
        • Day 5: More Math
        • Day 6: If... else...
        • Day 7: More Control Flow
        • Day 8: Looping
        • Day 9: More on Looping
        • Day 10: Inheritance, Interface
        • Day 11: Threads and Graphics
      • Unit 2: Creating a Game I>
        • Day 1: Foundations
        • Day 2: Basic Framework
        • Day 3: Taking User Input
        • Day 4: Enter the Robot
        • Day 5: Background and Sprites
        • Day 6: Adding Enemies
        • Day 7: Shooting Bullets
        • Day 8: Animations
        • Day 9: 2D-Arrays
        • Day 10: Painting the Tilemap
      • Unit 3: Creating a Game II>
        • Day 1: Level Creation - Part 1
        • Day 2: Level Creation - Part 2
        • Day 3: Level Creation - Part 3
        • Collision Detection Basics
        • Day 4: Collision Detection Part 1
        • Day 5: Collision Detection Part 2
        • Day 6: Collision Detection Part 3
        • Day 7: Health System & Death
        • Day 8: Basic AI & Final Touches
      • Unit 4: Android Game Development>
        • Day 1: Introduction to Android
        • Day 2: Setting up for Development
        • Day 3: Creating our First Android Application
        • Day 4: Parts of an Android Application
        • Day 5: The Android Game Framework: Part I
        • Day 6: The Android Game Framework: Part II
        • Create an Android Game From Scratch (or port your existing game)
        • Day 7: Creating an Android Game (From Start to Finish)
      • Reference Sheet
    • Zombie Bird Tutorial (Flappy Bird Remake)>
      • Unit 1: Building the Game>
        • Introduction
        • Day 1: Flappy Bird - An In-depth Analysis
        • Day 2: Setting up libGDX
        • Day 3: Understanding the libGDX Framework
        • Day 4: GameWorld and GameRenderer and the Orthographic Camera
        • Day 5: The Flight of the Dead - Adding the Bird
        • Day 6: Adding Graphics - Welcome to the Necropolis
        • Day 7: The Grass, the Bird and the Skull Pipe
        • Day 8: Collision Detection and Sound Effects
        • Day 9: Finishing Gameplay and Basic UI
        • Day 10: GameStates and High Score
        • Day 11: Supporting iOS/Android + SplashScreen, Menus and Tweening
        • Day 12: Completed UI & Source Code
    • Android Application Development Tutorial>
      • Unit 1: Writing Basic Android Apps>
        • Before you begin...
        • Day 1: Android 101
        • Day 2: Getting to Know the Android Project
        • Day 3: The Development Machine
        • Day 4: Building a Music App - Part 1: Building Blocks
        • Day 5: Building a Music App - Part 2: Intents
        • Day 6: Building a Music App - Part 3: Activity Lifecycles
  • New Forum
  • About Us
    • Contact Us
  • Our Games
    • TUMBL: FallDown
  • Facebook
  • Twitter

        Android Application Development: Day 1-3: The Development Machine
You may be ready to start creating that game-changing app, but your computer probably isn't.
Before we can start coding, we must first install a few things for your machine. 

Yes, I know. It's a hassle. But once you spend the next few minutes getting your computer ready, you will be fully prepared to create your first Android app. Hang in there!

Note: If you have already followed Unit 4 - Day 2 of our Game Development Series (or have already installed the Android SDK with Eclipse), you can skip to the next lesson!

Your Arsenal
We need the following tools setup on your development machine.

1. Java Development Kit
2. Eclipse
3. Android SDK
4. Eclipse ADT Plugin


I. Installing the Java Development Kit (Skip to Step II if you have Eclipse installed and running).

Android is based in Java. Android requires that you use the Java 1.6 compiler (described in detail further). 
Java 7 is backward-compatible with Java 6 (1.6) so if you have that, you should be fine -- provided that you follow the next steps.

To install Java Development Kit, follow the following steps:
Note to Mac users: Most likely, Java is pre-installed on your computer. Skip the installation step.

1. Here's the link to the download:
http://www.oracle.com/technetwork/java/javase/downloads/index.html

Click the "Download" button below JDK 7.

Picture

2. Once you are there, look for YOUR operating system and version and download the corresponding JDK. 

On Windows, you can check this information by right clicking on My Computer (or Computer), properties, and you should see your type next to System type.
Note: Windows x86 refers to 32-bit, while Windows x64 refers to 64-bit.

Picture
Look at System type for this information
Picture
Once you have installed the downloaded file, we will be done with Step 1.

1. Java Development Kit (Done).
2. Eclipse
3. Android SDK
4. Eclipse ADT Plugin

II. Installing the Bundle: Eclipse/Android SDK/Eclipse ADT Plugin

Google has recently made it very easy to download items 2, 3, and 4 at once. If you already have Eclipse installed, you can opt for the "USE AN EXISTING IDE" option, but for ease and organization, I highly recommend that you just download the SDK ADT Bundle provided on the site below.

1. Go to this page (opens new window), click "Download":
http://developer.android.com/sdk/index.html

2. Read the following conditions, agree to the terms, and select your operating system type. 
Picture
Once you press "Download the SDK ADT Bundle" it will begin to download the 399 MB file. 
While your computer downloads that .zip file, let's talk about its contents! 

Contents of the SDK ADT Bundle

The file that you have downloaded includes the following:

1. Eclipse IDE
2. Android SDK
3. ADT Plugin for Eclipse

As we saw in Day 2, Eclipse is your central development tool. Here you will be writing your code, adding resources, debugging your apps, and exporting them when finished. 



The Android SDK (software development kit) contains various tools and programs you need to develop on Android. It lets you download full Android versions (like Jelly Bean) that you can create an Emulator (or Virtual Device) with, and also contains various libraries that you can import from as you build on Android.

The ADT plugin acts as a bridge between the SDK and Eclipse. Once you install the ADT plugin to Eclipse, you will be able to access much of the Android SDK directly inside the Eclipse interface.

Extracting the Files

Once your Android SDK ADT Bundle is finished, extract it to a directory of your choice. I personally like to place this in my Desktop, but it's up to you.

As I said, this Bundle contains its own Eclipse. It has a cool new icon, splash loading box, and a wealth of good information for developers.

1. Open up the directory you extracted the Bundle to, and go to the eclipse folder, and run eclipse.exe (perhaps create a shortcut on the Desktop/taskbar/dock).
2. Select a workplace of your choice (this is where all of your source code is saved).
3. By now, you should be able to see this welcome screen.  
Picture
That wasn't so bad, was it? Now it's your turn to start coding.

Picture
No source code is available for this lesson.
Go to Unit 1 - Day 2
Go to Unit 1 - Day 4
comments powered by Disqus
© 2014 Kilobolt, LLC. All rights reserved.