Tag Archives: sdk

Getting started with Android Studio on Ubuntu/Linux (14.04 LTS)

Android Studio is the new development environment for Android (officially recommended). It’s based on IntelliJ IDEA (Integrated Development Environment from JetBRAINS).

android studio

You can still use Eclipse IDE though (however, it may not be supported once the Android Studio comes out of beta) but Android Studio brings lots of new features and improvements (Advanced Android code completion and refactoring, multiple APK generation, Maven based build dependencies etc), so lets set up Android Studio on Ubuntu/Linux. (tested on Ubuntu 14.04 LTS (64 bit Intel Machine))

1. Install JDK 6 or later

First, install Oracle JDK 8 (although you could also choose OpenJDK but it has some UI/performance issues) using WebUpd8 PPA.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default

To make sure, it’s installed successfully, open a terminal and type (you should get the version number of the jdk you’ve installed e.g javac 1.8.0_11)

javac -version

2. Download and install Android Studio

Download the Android Studio package for Linux and extract it somewhere (e.g home directory).
Then type :

cd android-studio/bin

3. Install SDK Platforms

You need to install some SDK before you jump into building android apps. Click on Configure -> SDK Manager to open Android SDK Manager. Select the latest API (to test against target build, e.g API 19 (Android 4.4.2)) and some packages in Extras (Android Support Library and Android Support Repository). Then install the selected packages.

That’s all. Now, the development environment is ready :-)
If you need some help then learn Android development at TreeHouse or checkout official docs.


Develop cross-platform desktop applications with TideSDK

If you’re a web developer – already familiar with HTML5/CSS3/Javascript then you don’t need to learn some other languages, in order to create desktop application. With TideSDK, you can create cross-platform apps (supported on Linux based distributions such as Ubuntu, Windows and Mac OS X), just like you create a web app. You can also use your favorite scripting language such as Ruby, Python and PHP.


What is TideSDK ?

it’s a free and open source software (available under Apache 2.0 License), a new standard for creating multi-platform desktop apps, using your web development skills. Currently, it’s in beta release (latest version: 1.3.1 beta), for the latest updates you should checkout their github page.

What languages I can use ?

  • HTML5
  • CSS3 (you can also try bootstrap, foundation or a preprocessor such as Sass)
  • Javascript
  • Ruby
  • Python
  • PHP

Getting Started with TideSDK!

First read this getting started manual and then setup the development environment. You need to install two packages (for your platform) – TideSDK and TideSDK Developer, the official manual explains everything so just follow the guide.

Download TideSDK


Also check out this new tool for building desktop apps (using web stack) : http://electron.atom.io/ (from GitHub)


How to Install Android SDK on Ubuntu 12.04 LTS

Ubuntu (latest version: 12.04 LTS) is now the most popular GNU/Linux distribution on this planet; Android, the most popular operating system for Mobile Devices, both are rocking!

If you are a Android Developer (or an absolute beginner) – who wants to use Ubuntu as the development platform OR an Ubuntu user interested in developing Android Applications – then this post might be helpful in setting up Android Development Environment on Ubuntu 12.04 (a.k.a Precise Pangolin). Although, the setup process is primarily explained for Ubuntu 12.04 but it may works seamlessly on other GNU/Linux systems such as Linux Mint, Debian, OpenSuse, Fedora etc (and of course you would have to replace apt-get by yum in RPM based distro).

Setting Up Android SDK on Ubuntu 12.04 LTS


Since Android uses Java as the programming language so you must install Java Development Kit (JDK) such as OpenJDK (Open Source implementation), followed by the Eclipse IDE and ADT plugins required for Android Development.

Step 1. Install JDK and Eclipse IDE

Although, you could install JDK or IDE separately (specially if you want specific version of JDK and Eclipse, Since Android SDK requires JDK 1.6+ and Eclipse Helios 3.6.2+) but eclipse-jdt package meets the above conditions so it would be much easier. Open a terminal and install Eclipse IDE as well as JDK, in one command (Installs Eclipse 3.7 + OpenJDK 6 ) –

sudo apt-get install eclipse-jdt

step 2. Download Android SDK Starter Package

Download Android SDK Starter Package (From Official Site)

step 3. Install ADT Plugins for Eclipse

Installing Android SDK

Now, Open Eclipse IDE and go to Help -> Install New Software  then click on Add and enter the URL :



Now select the developer tools, then a couple of Next, followed by Finish would begin the Download/Installation process; Next, restart the Eclipse.

step 4. Install Android SDK

Then open Window -> Preferences and locate your Android SDK starter package.


Then go to Window -> Android SDK Manager, Select the packages you want to install and click Install [x] Packages.


Packages to select ?

Mandatory  packages are SDK Tools, SDK – Platform Tools and the SDK platform (2.1 (recommended if you want to target for 97%+ users) or 4.0.3 (the latest version at the time of writing this post)) for which you want to write the Application.

Select other packages depending on your need, although most recommended packages are – Documentation, Code Samples, USB Driver, Google API, Google Analytics SDK, Google Admob Ads SDK (If you want to show ads in your App) etc. Don’t select unnecessary packages – that you don’t need now – otherwise it may take much time to download/install all those stuffs.

Wait, until the download/install process complete (it may take a lot of time if your Internet connection is not very fast).

That’s All. Now it’s time start developing some cool Applications for Android. Have Fun!

Recommended Book(s) for Beginners


Android SDK for Ubuntu 11.04/10.10/11.10

Ubuntu – The most popular Linux distribution for desktop users (with an exponential growth in past few years) and Android – one of the most popular mobile operating system, also based on Linux kernel; developed by Google Inc.

Ubuntu 11.04 (alias : Natty Narwhal) or older versions such as 10.10 (Maverick Meerkat) or 10.04 (Lucid Lynx) is now becoming the dominant choice for programmers and web developers probably due to the features (cool desktops (window manager, e.g Gnome, KDE..), open source applications, tools, no licensing cost…) and flexibility available on Linux based operating systems. Android stable version 2.3.5 (Gingerbread) was released a day ago.

Android SDK

Do you want to develop android apps using Linux based distributions, then this post will explain you about installing Android SDK (Software Development Kit) on Ubuntu, despite of that you can apply the same procedure in installing android sdk on other Debian based GNU/Linux OS such as Linux Mint.

Before diving into installing steps for android sdk in Ubuntu 11.04, I assume you have already installed –

  1. JDK (Java Development Kit)
  2. Eclipse IDE

If my assumption is wrong (I mean you haven’t installed the Java SDK and Eclipse IDE) , then follow these link :

how to install JDK on Ubuntu 11.04
how to install eclipse IDE on Ubuntu 11.04

After installing those packages, come back here to proceed.

How to Install and Configure Android SDK with Eclipse IDE

Now, you can install Android in two simple steps :

step #1 : Download and install the android package(s).

Download SDK Starter Package
Then extract the package(s) either by right clicking -> extract or do it from Terminal :

Open Terminal (CTRL+ALT+T) and move on (use cd target_directory) to the directory where you have downloaded the packages.

tar -xf android-sdk_r12-linux_x86.tgz


Android SDK and AVD Manager will be started with the above command,

Android SDK and AVD Manager
now you just need to select the packages (first one you get after expanding Android Repository, is probably mandatory and select the SDK platform version for your targeted device, documentation, sample apps…or any third party Add ons if required) you want to install, then click on ‘Installed Selected’ button; wait for the Download/Installation to complete. (Since the selected packages will be fetched from Internet you need an active internet connection during installation procedure)

step #2 : Install and configure the ADT (Android Development Tool) plugin

start Eclipse and go to Help > Install New Software, then click on Add. Enter the ADT Plugin in name and the following address (in case of any problem, try http instead of https (The secure version of http protocol).. or simply click on archive and locate the manually downloaded ADT plugin file ) as Location.



Then click on Next -> select developers Tools -> Next -> Finish.

Now, it’s time to configure ADT Plugin, Click on Window -> Preferences -> Select Android in left panel and locate the Android SDK directory, and hit Apply/OK.


That’s all.