3161612 231133116046
Practical 1
Aim: Introduction to Android Programming and installation of Android
Studio.
OBJECTIVES:
To study about procedure of installing Android Studio and environment required to install its
tools.
THEORY:
Steps to Install Android Studio:
Step: 1 Android Environment must require jdk. So install jdk.after installation we have to set
a path. Select Start menu > Computer > System Properties > Advanced System Properties.
Then open Advanced tab > Environment Variables, add new system
variable JAVA_HOME that points to your JDK folder, for example C:\Program
Files\Java\jdk1.7.0_21.
Figure
Step: 2 Let's launch Android Studio.exe,Make sure before launch Android Studio, Our Machine
should require installed Java JDK. To install Java JDK,take a references of Android
environment setup.
1
3161612 231133116046
Step: 3 Once you launched Android Studio, it’s time to mention JDK5 path or later version in
android studio installer.
Step: 4 Below the image initiating JDK to android SDK
2
3161612 231133116046
Step: 5 Need to check the components, which are required to create applications, below the
image has selected Android Studio,AndroidSDK,Android Virtual Machine and
performance(Intel chip).
Step: 6 Need to specify the location of local machine path for Android studio and Android
SDK, below the image has taken default location of windows 8.1 x64 bit architecture.
3
3161612 231133116046
Step: 7 Need to specify the ram space for Android emulator by default it would take 512MB
of local machine RAM.
Step: 8 At final stage, it would extract SDK packages into our local machine, it would take a
while time to finish the task and would take approximate 3 to 4 GB of Hard disk space.
4
3161612 231133116046
Step: 9 After done all above steps perfectly, you must get finish button and it going to be open
android studio project with Welcome to android studio message as shown below.
Step: 10 You can start your application development by calling start a new android studio
project. In a new installation frame should ask Application name, package information and
location of the project.
Figure: Android device targeted
5
3161612 231133116046
Figure: Add activity to mobile
Figure: customize the activity
Figure: android studio home page