Installing The Android Development Kit: 4 Installation and Configuration of Your Development Platform
Installing The Android Development Kit: 4 Installation and Configuration of Your Development Platform
You should note that Eclipse does not install like most Windows software installs. It
comes as a ZIP file that can be placed anywhere on the system and unzipped. I recommend that you create a folder in the Program Files folder on a Windows system
called Eclipse or something equally appropriate and unzip the ZIP file there. You
might also want to create a shortcut for the Eclipse start icon and place it on your
desktop.
When you select the New menu and choose Project, if you can start Eclipse and you
see Java Project as a choice, so far so good. If that doesnt happen for you, go back
and check the documentation for the Eclipse and Java installations. Above all, be
patient.
Testing the Android installation is similar to testing the Java installation. Again,
select the File menu on Eclipse, select New, Project, and you should see Android
Project as a choice. If it is there, you should be good to go. If not, check your steps
and look for some online troubleshooting help. There is no lack of documentation on
the Internet for Eclipse, Java, and Android. Just use your favorite search engine.
Figure 1.4
Eclipse Install New Software panel.
Indeed, if you ever run into a problem with part of a project you see in this tutorial
or attempt on your own, you can rest assured many other developers have run into
the same problem and are more than likely to have posted solutions on the Internet.
The following list contains some websites I have found useful:
http://download.oracle.com/javase
Documentation on J2SE
http://developer.android.com
www.dreamincode.net
www.stackoverflow.com
Follow-Up
1. Install and configure the components needed to build your Android application
development environment.
2. Review the websites listed at the end of this chapter.
3. Research the sequence of Android OS versions and their added features to help
you target the appropriate levels in your applications.
Readers Notes
Chapter 2
Starting an Android
Application Project
On the Eclipse desktop, select File, New, Project. You are presented with a new dialog
box. Select Android Project under the Android heading, and then select Next. You
will see the dialog box in Figure 2.1.
Figure 2.1
Eclipse New Android Project panel.
Choose a project name, such as Project_1. Notice the check box labeled Use
Default Location. It is checked and contains a path with workspace as the final
directory in the path. This is what I referred to earlier; you can leave it as is. Next,
the Build Target area refers to the version of the Android operating system (OS) you