Thursday, March 24, 2011

Android Development

I've been working on my first Android game for a few months now (it's taking longer than I expected) and since the the main purpose of this blog was Android development, after today I'm going to publish some tutorials explaining how everyone can develop simple games for Android.

Before starting with the basics, we need to:
Finish those 2 steps before reading any further.

Now, let's install and configure the ADT plugin.

The Android Development Tools (ADT) is a plugin for the Eclipse IDE that extends the capabilities of Eclipse to let you quickly set up new Android projects, create an application UI, add components based on the Android Framework API, debug your applications using the Android SDK tools, and even export signed (or unsigned) .apk files in order to distribute your application.

We need this :)

Download and install the ADT Plugin:

Start Eclipse, then select Help > Install New Software....
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
  • https://dl-ssl.google.com/android/eclipse/
Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).

Click OK.

In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.
When the installation completes, restart Eclipse.


Now, all that's left is to configure the ADT Plugin:

Select Window > Preferences
Select Android from the left panel.
For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.
Click Apply, then OK.

That's it :)

No comments:

Post a Comment