Monday, July 21, 2014

Android SDK installation on Linux platforms

1- Installing Android SDK

1-a. Download the stand-alone Android SDK tools from http://developer.android.com/sdk/index.html#download, by clicking on "GET THE SDK FOR AN EXISTING IDE" and accepting the terms and conditions of Android.
1-b. Unpack ".tgz" file in the desired location, as normal user.
$ mkdir /home/username/Development
$ cd /home/username/Development
$ mv /home/username/Downloads/android-sdk_<version>-linux.tgz .
$ tar -zxvf android-sdk_<version>-linux.tgz
     Android SDK files have been unpacked in a "android-sdk-linux_x86" directory. Now, you can remove the downloaded file:
$ rm android-sdk_<version>-linux.tgz

2- Getting the latest Android SDK tools

2-a. Start the Android SDK Manager.
$ cd /home/username/Development/android-sdk-linux_x86/tools/
$ ./android
2-b. In the Android SDK Manager window, select the latest SDK tools:
     In Tools directory select: - Android SDK Tools
                                           - Android SDK Paltform-tools
                                           - Android SDK Build-tools (the highest version)
     In Android first directory (latest version) select: - SDK Platform
                                                                            - ARM EABI v7a System Image
     In Extras directory select: - Android Support Repository
                                            - Android Support Library
                                            - Google Repository
                                            - Google Play services
2-c. Click "Install 7 packages".
2-d. In the next window, accept the license agreement for each package, and click "Install".

No comments:

Post a Comment