Monday 4 July 2016

Getting start with Android Studio with Ubundu Linux -

   
Below are the steps to install Android Studio in Ubuntu system: 

---------------------------- Update on July-2016:-----------------------------
TASK1:
======

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

Link: ==> https://developer.android.com/studio/index.html

Then type :

cd android-studio/bin
./studio.sh
3. Install SDK Platforms (Selecting check box for the list of sdk manager running)

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.


TASK2:
======

Error:Unable to run mksdcard SDK tool in ubuntu


This really needs to be added to the documentation, which is why I filed an issue about it a few months ago...

You need some 32-bit binaries, and you have a 64-bit OS version (apparently). Try:

Terminal CMD$> sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6


That worked for me on Ubuntu 14.10.

TASK3:
======

How to create AVD in linux Android studio

Android studio->tool->Android->AVD Manager -> create the device config and download the API's to run.

TAKS4:
======

USB debugging - Mostly Automatic confif, if device alread y in developer mode option enabled.ble

Start with mobile ->mobile->settings->about phone->Build Number-> swipe the number 7-14 times. developer option will enable.

TASK5:
=====

Create Desktop short cut ICON for Android Studio.

The simple solution is:

Go to Android Studio=>Tools=>Create desktop Entry..

No comments:

Post a Comment