Showing posts with label porting. Show all posts
Showing posts with label porting. Show all posts

Monday, January 18, 2016

How to install android sdk tools in ubuntu

Hello guys,

Today i am gonna tell you how to install android sdk in ubuntu.


steps:

1. Download android-sdk from official site

2. Now open terminal( shortcut key: alt+ctrl+T )

3. Extract the archive you just downloaded by typing command:

       #tar xvzf ~/android-sdk*.tgz

4. Now  get the root privileges for your account:

       #sudo su

5. Now install some Multi-Arch Packages:

     #apt-get install libstdc++6:i386 lib32z1 lib32ncurses5 libbz2-1.0

6. Now just relocate android sdk you just extracted:

     #chown -R root:root ~/android-sdk-linux*

     #chmod -R +xr ~/android-sdk-linux*

     #mv ~/android-sdk-linux* /opt/android-sdk-linux

7. Now install oracle-sun jdk:
  
    this is another tutorial,click here

8. Now inserting Android sdk tools into USER PATH:

       #su <username>

       #nano ~/.bashrc
     
       #export PATH=/opt/android-sdk-linux/tools:/opt/android-sdk-linux/platform-tools:$PATH

Note: Ctrl+Shift+v to Paste Content into nano
       Ctrl+x to Save and Exit
       Load New Settings by typing below written command:

       #bash                    

9. Now update android sdk tools and APIs:

       #cd /opt/android-sdk*/tools
       #sudo su -c "./android sdk"



Thanks for visiting.
Subscribe and follow me if you liked.
Read more