blob: cd24feae55fc54dbf263c8cd35f4250c10a20935 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
---
layout: post
title: Installing the Android SDK on Ubuntu
author: David T. Sadler
description: This guide will show you how to install the Android SDK and the Eclipse IDE on Ubuntu.
categories: ["Android","Ubuntu"]
robots: follow, noodp, noydir, noarchive
comments: true
google_plus: true
twitter_share: true
facebook_like: true
published: false
licensed: true
---
By the end of this guide you will run a simple "Hello World" application on either the Android emulator or a physical device.
## Getting started.
There are a few things that we require before we can install the SDK. We need the Java Development Kit (JDK) which provides tools such as a Java compiler that allow us to develop Java applications. The Java Runtime Environment (JRE) is needed so that Java programs, such as Eclipse, can run on your system. Apache Ant is needed if you wish to build Android applications outside of an IDE.
{% highlight bash %}
sudo apt-get update
sudo apt-get install ant default-jdk default-jre -y
{% endhighlight %}
Google provide an archive of the SDK for downloading. Since it is very likely that the SDK has been updated since this post was written you should check the <a href="http://developer.android.com/sdk/index.html" rel="external nofollow" target="_blank" title="Go to the Android SDK website">website</a> for the current version number.
{% highlight bash %}
wget http://dl.google.com/android/android-sdk_r20.0.1-linux.tgz
{% endhighlight %}
|