Android howto

download Android howto

If you can't read please download the document

Transcript of Android howto

Notebook

Setup Android Development on your computer in 10 easy steps

Presentation by: @KennedyPJ - Barcamp Vientiane, 2010

Basic idea will work on Linux, Mac, or Windows

With Eclipse, no Java configuration needed

(Steps 1 to 3 is Android SDK configuration)
Step 1

Download latest Android SDK for your platform

http://developer.android.com/sdk/index.html

Step 2

Unzip Android SDK to a new folder.

On Linux, do this as a user at the command line; this will ensure proper user permissions to the SDK files.

Step 3

Run the configuration program - Go to tools subfolder. On Linux and Mac run "android" executable

On Windows, run "SDK Setup.exe".

Select "Available Packages" on the left side,and checkmark to install all SDK versions. Click "install Selected" to install all SDK versions per your target platform.

(Steps 4 to 10 is Eclipse configuration for Android)
Step 4

Download Eclipse with Java support. Go to http://www.eclipse.org/downloads/ For example, download "Eclipse IDE for Java Developers".

Step 5

Extract the archive as user to ensure proper permissions. Files will be placed into an an eclipse folder

Step 6

Run eclipse executable for the first time.

Create a workspace for your projects when prompted.

Step 7

Click help, install new software. Enter this path: https://dl-ssl.google.com/android/eclipse/ in "work with" field, and then click "add".

Step 8

Select "Developer Tools" checkbox, click next.

Highlight "Android DDMS" and "Android Development Tools", click next.

Accept terms of license, click finish to install.

(When prompted about unsigned software, click to proceed.)

Step 9

I recommend a reboot at this stage, as the Restart Eclipse option on Linux may not release all locks.

Reboot OS, then launch (effectively restarting) Eclipse.

Step 10

Set any ADT preferences; click Windows | Preferences (On Mac click Eclipse | Preferences). Set your preferences. In particular, click Android hive and make sure the SDK location points to where you installed the SDK. Even if path is set, to make "apply" button clickable, click browse button, select Android SDK folder again, then click "apply" button. Click OK to complete SDK install.