Next, you should install a Java development environment if you don't have one already. I recommend Eclipse, because it's free and because it's used and supported by the Google developers who created Android.

The minimum version of Eclipse is 3.3.1, but you should always use whatever is the most up-to-date production version. Go to the Eclipse downloads page,2 and pick "Eclipse IDE for Java Developers." Note that you need more than just the standard Eclipse SDK "classic" platform. Download the package into a temporary directory, unpack it (usually this is just a matter of double-clicking it), and move the entire unpacked directory to a permanent location (like C:\Eclipse on Windows or /Appli-cations/Eclipse on Mac OS X).

If you don't want to use Eclipse (there's always one in every crowd), support for other IDEs such as NetBeans and JetBrains IDEA is available from their respective communities. Or if you're really old-school, you can forgo an IDE entirely and just use the command-line tools.3 The rest of the book will assume you're using Eclipse, so if you're not, you'll need to make adjustments as necessary.

0 0

Post a comment