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.
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.
No comments:
Post a Comment