How to Install Android SDK in Ubuntu for i.MX

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Install Android SDK in Ubuntu for i.MX

868 Views
J_Eastlack
Contributor I

How to Install Android SDK in Ubuntu

This wiki describes how to install the Android SDK to build Java applications that run on the Android framework. This does not describe the build process for creating the actual Android OS that runs on i.MX devices.

 

First, go to the Android website and download the SDK. Make sure you choose the Linux version.

Extract the downloaded file to your home folder. You should see a folder with the name “android-sdk-linux_86”.

 

Open your .bashrc file and add the filepath to the end of the file. In a terminal, type the following:

 gedit ~/.bashrc 

 

Add the following line to the end of the file. Replace <my path> with the actual filepath of the SDK folder on your system.

export PATH=${PATH}:/home/jeff/android_imx/java_android_sdk/android-sdk-linux_86/tools 

Next you need to install Ecplise. For Ubuntu 9.10 users, the latest version of Eclipse is already included in the repository, so you can easily install with "apt-get":

sudo apt-get install eclipse

Once the installation is completed, Add the network proxy to the network configuration settings.

Now setup the proxy in eclipse (the global setting is not sufficient)
On the menubar, click on Help -> Window -> Preferences -> General -> Network Connection and add the Freescale proxy server "wwwgate0.freescale.net" with port "1080" or equivalent 

Make sure you have 127.0.0.1 listed in your proxy bypass settings

 

Install Android Plugin for Eclipse

Once the proxy setup is completed, open Eclipse (Application -> Programming -> Eclipse)
On the menubar, click on Help -> Install new software

Next, erase away the entry in the Work With field and add https://dl-ssl.google.com/android/eclipse/. Click Add.

Check all the entries in the bottom pane and click Next to install.

Once the installation is done, restart Eclipse.

If you get the proxy errors at this point then reboot your machine and try again.

 

If plugin Link is dead?

In the case of the plugin link being dead, simply download it directly from google here http://dl.google.com/android/ADT-0.9.6.zip
Updated links may be found here: http://developer.android.com/sdk/eclipse-adt.html

 

Once the file "ADT-0.9.6.zip" is downloaded to the desired directory you can install it by clicking Help -> Install New Software -> Add -> Archive
chose ADT-0.9.6.zip (no need to unzip the archive)

Check all the entries in the bottom pane and click Next to install.
Once the installation is done, restart Eclipse.

 

Now Install The SDK
Go to Windows -> Preferences. On the left, select the Android entry.
Enter the Android filepath in the SDK location field. Click Apply follow by OK.

Congratulations you are done setting up Ubuntu for the Android SDK

Tags (1)
0 Kudos
0 Replies