Web Development and Design | Tutorial for Java, PHP, HTML, Javascript: install-android-studio

Web Development and Design | Tutorial for Java, PHP, HTML, Javascript: install-android-studio
Showing posts with label install-android-studio. Show all posts
Showing posts with label install-android-studio. Show all posts

Install Android Studio

Today For Some User It's Difficult To Setup Android Studio.

In This I Will Show How To Install Android Studio.

 
On Windows 
and On Ubuntu.

Let's Start
For Ubuntu : -
Install JDK 6 or Later. (Better To Use Latest Version)

command : -

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

Now Let's Download Android SDK from Here For Ubuntu.

https://developer.android.com/sdk/index.html

After Installing Java and Downloading Android Studio.

Now Extract The file to home directory.

For This.

Use : tar zxvf android.tar.gz /home/Your_user_directory/


Let set The Path For android Studio and Java.

Now Open Your Bashrc file by Running This Code (Not in Root User).

sudo gedit ~/.bashrc

Paste This Line To Bottom of The File.

//please check your sdk location in file manager first

export ANDROID_HOME=/home/Your_Username/Android/Sdk
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
export JAVA_HOME=/usr/lib/jvm/java-8-oracle

now save and close this file.

after that reload the file for system.
so run this command.

source ~/.bashrc

Now Open Your android studio.

By Running the command.

android-studio/bin/studio.sh.

Then Follow This Screens.

android studio setup
 

android studio setup

android studio setup



android studio setup

please check you android-studio location first in my case it in home user directory.

now this was fresh install so you have to select do not import setting.
after that update some libraries.

Now its Ready To Use.

For Windows :

Installing android on Windows Does not required lots of thing.
Just download
jdk: -

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

and
android studio 

Then simply Run the executable file
.
https://developer.android.com/sdk/index.html

All will Done by window automatic.