diff options
| author | davidtsadler <davidtsadler@googlemail.com> | 2012-08-04 18:31:25 +0100 |
|---|---|---|
| committer | davidtsadler <davidtsadler@googlemail.com> | 2012-08-04 18:31:25 +0100 |
| commit | 49c0826e2eb32fa6caa965777e3e366a23b89001 (patch) | |
| tree | e37922b89b427b33797b1b344ec30c37c841dc2c /_site_build | |
| parent | ff361c44b6753df2895b906e9ebb9c08428f252d (diff) | |
Work in progress.
Diffstat (limited to '_site_build')
| -rw-r--r-- | _site_build/_posts/2012-08-01-installing-the-android-sdk-on-ubuntu.markdown | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/_site_build/_posts/2012-08-01-installing-the-android-sdk-on-ubuntu.markdown b/_site_build/_posts/2012-08-01-installing-the-android-sdk-on-ubuntu.markdown index 1c6862d..19d5c3a 100644 --- a/_site_build/_posts/2012-08-01-installing-the-android-sdk-on-ubuntu.markdown +++ b/_site_build/_posts/2012-08-01-installing-the-android-sdk-on-ubuntu.markdown @@ -54,10 +54,24 @@ sudo apt-get install ia32-libs-multiarch <h2 id="sdk">The Android SDK.</h2> -Installing the SDK is done by downloading the archive of the Android SDK Starter Package that Google provides. This is not the complete SDK enviroment as it only includes the core SDK tools. You will use these tools to download the rest of the SDK. Since it is very likely that the package has been updated since this guide 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. +Installing the SDK is done by downloading the archived Android SDK Starter Package that Google provides. This is not the complete SDK enviroment as it only includes the core SDK tools. You will use these tools to download the rest of the SDK. Since it is very likely that the package has been updated since this guide 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. + +For this guide I will show you how to install the SDK for a single user on your system. There are other ways of installing but for this guide I want to keep things simple. We will do this by downloading and installing the SDK into your home directory. + +The first thing we need to do is to get the starter package and unpack it. {% highlight bash %} +cd ~ wget http://dl.google.com/android/android-sdk_r20.0.1-linux.tgz +tar -xzvf android-sdk_r20.0.1-linux.tgz +rm android-sdk_r20.0.1-linux.tgz +{% endhighlight %} + +You will now have a directory called `android-sdk-linux` located within your home directory. The core SDK tools are located in sub-directories called `tools` and `platform-tools`. To make it easier to access these tools from the command line you can add their locations to your PATH environment variable. + +{% highlight bash %} +echo 'PATH=$PATH:$HOME/android-sdk-linux/tools:$HOME/android-sdk-linux/platform-tools' >> $HOME/.bashrc +source ~/.bashrc {% endhighlight %} <h2 id="ide">The Eclipse IDE.</h2> |
