Tag Archives: sdk

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

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.

2. Download and install Android Studio

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.

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.

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 ) –

step 4. Install Android SDK

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!

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.

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 –

JDK (Java Development Kit)

Eclipse IDE

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

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

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*/tools/android

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

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)

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.