You are on page 1of 2

Practical No.

Aim :- To study the environment of android studio.

Objective :-

 Install Android Studio in your system


 Study the environment of android studio.

Theory :-

Basic concept

System Requirements For Android studio :-

 Windows – 7/8/10 (64-bit)


 Minimum 4GB RAM , 8GB recommended.
 2GB of available disk space minimum , 4GB Recommended(500 MB for IDE + 1.5GB
for Android SDK and emulator system image.
 1280 * 800 minimum screen resolution.

Installation procedure for android studio

 Visit Official website of Android Studio.


 Click on the “ Download Android Studio “ option.
 After downloaded double click on “ Android Studio-ide.exe “ file.
 “Android Studio Setup “ will appear on the screen and click “Next “ to proceed.
 Select the components that you want to install and click on the “Next” button.
 Select the specific folder to install Android Studio and click “Next”.
 Click on “Install “ button to get install in your system.

Environment of Android Studio

 We can set environment variables for Android Studio and the command-line tools
that specify things like where the SDK is installed and where user-specific data is
stored.
 The following shows how to use an environment variable to launch an emulator
when SDK installation has been put in drives.
Android SDK environment variables

ANDROID_SDK_ROO Sets the path to the SDK installation directory


T
REPO_OS_OVERRIDE Set this variable to windows, macosx , linux when you use
sdkmanager to download packages for an os.

Android Studio configuration environment variables

STUDIO_VM_OPTION Set the location of the studio.vmoptions files.


S
STUDIO_PROPERTIES Set the location of the ides.properties file.
STUDIO_JDK Sets the location of the JDK with which to run Android
studio.
STUDIO_GRADLE_JDK Sets the location of the JDK that Android studio uses to
start the gradle daemon.

Emulator Environment Variables

ANDROID_EMULATOR_HOME Set the path to the user specific


emulator configuration directory.
ANDROID_AVD_HOME Set the path to the directory that
contains all AVD specific files, which
mostly consist of very large disk images.
HTTP_PROXY Contains the http/https proxy setting for
a global http proxy.
ANDROID_EMULATOR_USE_SYSTEM_LIB Contains a value of 0 or 1.
S

Conclusion :-

Thus, we study install and set the environment variables of android studio.

You might also like