Sie sind auf Seite 1von 2

Computer Club, MNNIT Allahabad August, 2011

Android Installation Guide


The following document describes how to install Android Software Development Kit (SDK) on Linux. The whole procedure has been explained on the Android developer site http://developer.android.com/sdk/installing.html. The steps we have mentioned below have been taken from this link only. We just tried to provide a simpler procedure to you for installing the SDK. Feel free to go to the link if you find our procedure a bit tougher or confusing. All the softwares used are also defined properly on the above link and other links that originate from the above link. Before explaining the steps, let us first gather the software tools we are required to need. These are as follows: 1. Eclipse 3.6 (Galileo) or greater.
Note: Eclipse 3.4 (Ganymede) is no longer supported with the latest version of ADT (Android Development Toolkit). The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

Can be downloaded from http://www.eclipse.org/downloads/. 2. Sun Java 6 JDK. Can be downloaded from your Synaptic Package Manager. Package name: sun-java6-jdk 3. Android SDK. Can be downloaded from http://developer.android.com/sdk/index.html. Choose the one mentioned for Linux. Now, as we have gathered all the required software tools, we just need to follow the below mentioned steps to install the Android SDK: 1. Extract the Eclipse IDE's package in your home directory. The directory, generally named eclipse, contains an executable file also named eclipse. You can launch the IDE using this file. 2. Extract the Android SDK's package in your home directory. By default, the SDK files are unpacked into a directory named android-sdk-<machine-platform>. 3. Make entries following into your .profile file: 4. Start Eclipse. Since we are behind a firewall, we need to make sure that the proxy settings have been properly configured. In Eclipse, you can configure proxy information from the main Eclipse menu in Window > Preferences > General > Network Connections. Make the proxy selection as Manual. 5. Then select Help > Install New Software.... 6. Click Add, in the top-right corner. 7. 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/ 8. Click OK Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons). 9. In the Available Software dialog, select the checkbox next to Developer Tools and click Next. 10. In the next window, you'll see a list of the tools to be downloaded. Click Next. 11. Read and accept the license agreements, then click Finish.

Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK. 12. When the installation completes, restart Eclipse. 13. After you've successfully downloaded the ADT as described above, the next step is to modify your ADT preferences in Eclipse to point to the Android SDK directory as follows: Select Window > Preferences... to open the Preferences panel. 14. Select Android from the left panel. You may see a dialog asking whether you want to send usage statistics to Google. If so, make your choice and click Proceed. You cannot continue with this procedure until you click Proceed. For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory. 16. Click Apply, then OK.
15.

Installation is complete now, if you haven't encountered any problems. The last step in setting up your SDK is using the Android SDK and AVD Manager (a tool included in the SDK starter package) to download essential SDK components into your development environment. You can launch the Android SDK and AVD Manager from within Eclipse; select Window > Android SDK and AVD Manager. To download components, use the graphical UI of the Android SDK and AVD Manager to browse the SDK repository and select new or updated components (see figure given below). The Android SDK and AVD Manager installs the selected components in your SDK environment.

Tick all the check boxes to get the maximum platform support.

Das könnte Ihnen auch gefallen