Anda di halaman 1dari 2

Configuring Your Android Development Environment

Step1: Copy the Both folders Android & Eclipse in Your C:/ Drive or in any Folder (Preferable in C: Drive).The Folders are available in /SoftLibrary/IT_Dept/Eclipse_Android. Step2: You need to install Java, an IDE, and the Android SDK. Java 5.0+ First you need a copy of Java. All the Android development tools require it, and programs you write will be using the Java language. JDK 5 or 6 is required. Its not enough to just have a runtime environment (JRE); you need the full development kit. I recommend getting the latest Sun JDK 6.0 update from the Sun download site.1 Mac OS X users should get the latest version of Mac OS X and the JDK from the Apple website. Step3:

Installing and Configuring the Android Plug-in for Eclipse (ADT)


The Android Plug-in for Eclipse allows seamless integration with many of the Android development tools. If youre using Eclipse, its highly recommended that you install the in, as it will make your life much easier. The Plug-in includes various wizards for creating and debugging Android projects. To install the Android Plug-in for Eclipse (ADT), you must launch Eclipse and install a custom software update. The steps required depend on the version of Eclipse you use. For complete instructions, see the Android developer website, http://developer.android.com/sdk/eclipseadt.html.

To install Android Plug-in on Eclipse 3.5 (Galileo), follow these steps: 1. Launch Eclipse. 2. Select Help, Install New Software. 3. Select the Available Software tab. 4. Click the Add button. 5. Add the remote site https://dl-ssl.google.com/android/eclipse/. If this site fails, try http://dlssl.google.com/android/eclipse/. 6. On the Available Software tab, check the box next to Developer Tools box. (Also check the boxes for Android DDMS and Android Development Tools.) 7. Click the Next button and follow the wizard for installing the tools. Accept the terms of the license agreement and click the Finish button. 8. After the software update completes, restart Eclipse. After you install the Android SDK Eclipse plug-in, update your Eclipse preferences to point at the Android SDK you previously downloaded. To do this, launch Eclipse and Configuring Development Hardware for Device Debugging 413 choose Window, Preferences (or Eclipse, Preferences in Mac OS X). Select the Android preferences and set the path to where you installed the Android SDK. Once you have set the path appropriately, you will see a number of target SDK versions (Android 1.0, 1.5, 1.6, 2.0, 2.01, 2.1, and so on) listed below SDK Location in the Android Preferences dialog in Eclipse. Update the PATH Variable To update your PATH variable to include the Android tools directory, right-click My Computer and choose Properties. In Vista, you also need to click Advanced System Settings. You continue by clicking the Advanced tab of the System Properties dialog and clicking the Environment Variables button. In the System Variables section, edit the PATH variable and add the path( At the end of the remaining PATH) to the tools Directory of Android.

Anda mungkin juga menyukai