Setup Android SDK in 64 bit Ubuntu 12.04 virtual machine


Needed Applications for Build Android Environment in Linux 

Here we are going to build Android Environment in 64-bit linux .Normally the android SDK was not support to 64-bit linux So we have add a library to run SDK on linux . First of all we have to download some application from Android developer site.

Step 1
Install the Java Virtual machine (JDK) with required version it can be 64bit or 32 bit
To check java version :

If you don't install JDK the download is from oracle and install it click

OR

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin

Step 2
Extract the download android SDK and NDK in any location in side of your home directory and follow the instruction http://developer.android.com/sdk/installing.html#Installing in this link

using tar -xvf android-sdk-(version) to extract

After the installation you have to install the platform for your android virtual environment
Follow the link this will good instruction to install


Note: if you are dealing with native layer also then extract the android NDK file as well And to change the permission of a folder
 chmod -R 777 for android-sdk-linux_x86, platform-tools and adb. to change 

Step 3
Install 32 bit supported library for 64 bit linux machine

sudo apt-get update
sudo apt-get install ia32-libs

Step 4
install the Eclipse from the Eclipse . Note Don't install the eclipse  from ubuntu market because it was customised one.Therefore use the latest version from eclipse .
Here we have to install android ADT tool in eclipse for that we need to add the specific link to new installation path


If you faced any problem with installation like bellow

"Software being installed: Android Native Development Tools 20.0.0.v201206242043-391819(com.android.ide.eclipse.ndk.feature.group 20.0.0.v201206242043-391819)

Missing requirement: Android Native Development Tools 20.0.0.v201206242043-391819(com.android.ide.eclipse.ndk.feature.group 20.0.0.v201206242043-391819) requires 'org.eclipse.cdt.feature.group 0.0.0' but it could not be found".

Then this is happening because it don't have the supported versions file .So for that we have to do some procedures  like bellow


  1. Go to Help/"Install New Software..."
  2. Click on "Available Sofware Sites"
  3. Search "http://download.eclipse.org/releases/indigo and enable it
  4. Search "http://download.eclipse.org/tools/cdt/releases/indigo and enable it
  5. Come back to Help/"Install New Software..."
  6. Check "Contact all update sites during install to find requiered sofware"
  7. Install ADT Plugin
  8. IT MUST WORK!!!
After this process continue with your installation .

Step 5
setup the android SDK path using terminal
First of go in to your admin user profile in terminal then 
 -> sudo gedit ~/.bash_profile and don't use gedit /.bashrc and enter the below path depend on your folder path 
# Android tools
export PATH=${PATH}:~/android-sdk-linux_x86/tools
export PATH=${PATH}:~/android-sdk-linux_x86/platform-tools

export ANDROID_SDK_HOME=~/android-sdk-linux_x86/tools
export PATH=$PATH:$ANDROID_SDK_HOME


23 comments:

  1. http://forum.xda-developers.com/showthread.php?t=1550414 Super article for installation and path settings

    ReplyDelete
  2. Please check it:Most easy way to set up android environment for windows

    http://computerexclusive.blogspot.com/2013/11/android-development-environment-setup_17.html

    ReplyDelete
  3. Thanks for your article for setting up Java environment. Often, eclipse is most used development platform for creating mobile application with ease. Best Android Training institute in Chennai

    ReplyDelete
  4. Excellent post. Android is an open source operating system used for tablet computers and smartphones. If your are interested to develop creative mobile applications then you must learn about android OS. Its helpful for you.

    Regards..
    Android Training Institutes in Chennai



    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. I am happy to find this post Very useful for me, as it contains lot of information

    Article submission sites
    Guest posting sites

    ReplyDelete
  7. Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us.
    best institute for big data in chennai
    big data classes in chennai
    Hadoop Admin Training in Chennai
    CCNA Training in Chennai
    CCNA course in Chennai
    CCNA Training institute in Chennai

    ReplyDelete
  8. OctaFx Review is used to help identify trading opportunities. These include visual cues on price movement and volume that collectively identify the strength or lack of it in a given product's trend.

    ReplyDelete
  9. Are You Aware Of Fxtm Review Minimum Deposit And Withdrawal Amounts?

    ReplyDelete
  10. Very Informative blog thank you for sharing. Keep sharing.

    Best software training institute in Chennai. Make your career development the best by learning software courses.

    best php training institute in chennai
    msbi training in chennai
    devops training in chennai

    ReplyDelete