After downloading the SDK, unpack the .zip archive to a suitable location on your machine. By default, the SDK files are unpacked into a directory named android_sdk_<version>. The directory contains the subdirectories tools/, samples/, and others.
First, export the path:
export PATH=${PATH}:<sdk-location>/tools
Eclipse 3.3 (Europa)
- Start Eclipse, then select Help > Software Updates > Find and Install…
- In the dialog that appears, select Search for new features to install and click Next
- Click New Remote Site
- In the resulting dialog box, enter a name for the remote site (e.g. Android Plugin) and enter this as its URL:
Click OKhttps://dl-ssl.google.com/android/eclipse/ - You should now see the new site added to the search list (and checked). Click Finish
- In the subsequent Search Results dialog box, select the checkbox for Android Plugin > Developer Tools. This will check both features: “Android Developer Tools” and “Android Editors”
- Click Next
- Read the license agreement and then select Accept terms of the license agreement. Click Next
- Click Finish
- The ADT plugin is not signed; you can accept the installation anyway by clicking Install All
- Restart Eclipse
Eclipse 3.4 (Ganymede)
- Start Eclipse, then select Help > Software Updates…
- In the dialog that appears, click the Available Software tab
- Click Add Site…
- Enter this as the Location:
Click OKhttps://dl-ssl.google.com/android/eclipse/ - Back in the Available Software view, you should see the plugin. Select the checkbox next to Developer Tools and click Install…
- On the subsequent Install window, “Android Developer Tools” and “Android Editors” should both be checked
- Click Finish
- Restart Eclipse
After Restart
- Select Window > Preferences… to open the Preferences panel
- Select Android from the left panel
- For the SDK Location in the main panel, click Browse… and locate the SDK directory
- Click Apply, then OK
#android
About Hemanth HM
Hemanth HM is a Sr. Machine Learning Manager at PayPal, Google Developer Expert, TC39 delegate, FOSS advocate, and community leader with a passion for programming, AI, and open-source contributions.