Android Studio is best IDE to develop Android Apps because it is developed by Google.First you need to install JDK [ Java Development Kit ] to install Android Studio on Ubuntu .
Here is the video to install JDk / OpenJDK >>>> https://www.youtube.com/my_videos?o=U
Step by Step Procedure to install Android Studio:-
- Go to http://developer.android.com/ to download Android Studio Package
- Click on "Get the SDK"
- Scroll down and download Linux Package from "All Android Studio Packages"
- The file will be downloaded in "Downloads" folder
- Extract the .zip file
- Once Extracted , move the "Android Studio" folder to Home directory
- Copy the "Android Studio" folder to get the Location path
- Now open the "Terminal"
- Run these commands in the terminal
cd /home/(USER NAME)/android-studio/bin/ | Note:- User = Ubuntu user login Name
sudo chmod 777 -R studio.sh
- A pop Box will be shown. Select " I do not have previous version of studio...." and click on "ok" button
- Select the "Standard version" & click on "Next" wherever possible
- Additiona Tools / Modules for Android studio will be downloaded
- Once the Android SDK is up to date , Click on "Finish"
- Android installation is complete
- But you need to configure / Tweak some setting before starting a new Android project
- Click on "configure" - "settings"
- Click on "Appearance & behaviour" - system settngs - Updates - check automatic updates for ... is set to "stable channel" [Bothe Updates]
- Click on Editor - General - Appearance - select "show line numbers" - click on "Apply"
Code folding - Uncheck File header , Imports , one line methods
Auto import -Select Optimize imports on the fly 7& Add unambiguous imports on the fly & Click "Apply"
- That's it.