0% found this document useful (0 votes)
21 views5 pages

EXP NO:-1 Installing Android Studio On Ubuntu

The document provides installation instructions for Android Studio on both Ubuntu and Windows. For Ubuntu, it details setting up a repository and installing JDK before installing Android Studio via command line. For Windows, it outlines the steps to download and install Android Studio after configuring JDK, JRE, and SDK, along with setting up environment variables.

Uploaded by

ishorishore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views5 pages

EXP NO:-1 Installing Android Studio On Ubuntu

The document provides installation instructions for Android Studio on both Ubuntu and Windows. For Ubuntu, it details setting up a repository and installing JDK before installing Android Studio via command line. For Windows, it outlines the steps to download and install Android Studio after configuring JDK, JRE, and SDK, along with setting up environment variables.

Uploaded by

ishorishore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

EXP NO:-1

Installing Android Studio on Ubuntu


With the advancement of smart phones in the recent years, Android has become one of the biggest phone platforms and all the
tools required to build Android applications are also freely available. Android Studio is an Integrated Development
Environment (IDE) for developing Android applications.

Installation on Ubuntu 15.04

We can install Android Studio in two ways.

 The first methodis to set up the required repository and install it,
 The second method is to download it from the official Android site and install it locally.

In the first method, we will be setting up the repo using command line and install it. Before proceeding, we need to make sure
that we have JDK version1.6 or greater installed.

To install JDK 1.8.

Step1 : $ sudo add-apt-repository ppa:webupd8team/java

Step2: $ sudo apt-get update

Step 3: $ sudo apt-get install oracle-java8-installer oracle-java8-set-default

Verify if java installation was successful:

Step4: :~$ java -version

To install Android Studio

Step1: Setup the repo for installing Android Studio

$ sudo apt-add-repository ppa:paolorotolo/android-studio

Step2: $ sudo apt-get update

Step3: $ sudo apt-get install android-studio

Above install command will install android-studio in the directory /opt.

Now, run the following command to start the setup wizard:

Step4: $ /opt/android-studio/bin/studio.sh

This will invoke the setup screen. Following are the screen shots that follow to set up Android studio:

Once you press the Finish button, Licence agreement will be displayed. After you accept the licence, it starts downloading the
required components.

Android studio installation will be complete after this step. When you relaunch Android studio, you will be shown the
following welcome screen from where you will be able to start working with your Android Studio.
EXP NO:-2
Installing Android Studio on Windows

Android Studio is one of the best and most popular IDE for development of Android application which is released by IntelliJ
IDEA. Android studio has rich functionalists and easy to work. Android studio has great and awesome user interface, it is also
smart with coding and will save your time.

Android programming is Java based programming so it requires JDK & JRE environment. You must have toinstall JDK &
JREfor working with android. After installing JDK and JRE you need to configure Environment variables on your computer.
Environment variables let to provide some specific path for android. There will be JDK/bin or JDK only. After installing JDK
& JRE and configuring environment variables, the next step will be installation of SDK (Software Development Kit). This is
another important component for android programming. If you are thinking to develop android apps, then you must install
SDK on your computer.

Installing Andriod Studio on Windows

To download Android Studio for you computer, you need to visit official site of android.

There you will see android studio download button.

After downloading android studio, follow below steps to install android studio on your computer.

Step1: Open you downloaded android studio file and wait for few seconds, it will take some time to load on your screen.

Step2: After that the window will appear on your screen, where it will show you welcome to android studio.

Go for "Next"

Step3: Now choose what you want to install, all are most important component in android programming.

Go for "Next"

Step4: Go for "I Agree", It's for integrating SDK, it will confirm SDK installation.

Step5: Go for "I Agree", It's for Haxm installation.

Step6: Now choose the location for Android Studio and SDK.

Go for "Next"

Step7: Here you need to define the size of android emulator processor. You can define up to 2GB and more than that, depends
on your RAM capacity. The size will be determined through Haxm. This will help your android studio to run faster.

Step8: Now choose setting for shortcut of android studio on your computer.

Step9: After that it will take lots of time to copy all the files to the storage location you have selected before.

You might also like