0% found this document useful (0 votes)
11 views27 pages

CH02MAD

The document outlines the installation and configuration process for Android Studio as part of a Mobile Application Development course. It covers essential components such as the Android SDK, Android Emulator, and differences between JVM and DVM, while also detailing the steps to set up the development environment. Additionally, it provides insights into various Android development tools and their functionalities.

Uploaded by

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

CH02MAD

The document outlines the installation and configuration process for Android Studio as part of a Mobile Application Development course. It covers essential components such as the Android SDK, Android Emulator, and differences between JVM and DVM, while also detailing the steps to set up the development environment. Additionally, it provides insights into various Android development tools and their functionalities.

Uploaded by

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

YASHWANTRAO CHAVAN POLYTECHNIC

ICHALKARANJI

DEPARTMENT : COMPUTER SCIENCE AND ENGINEERING

CLASS : TY CSE

SUBJECT : Mobile Application Development(22617)


TOPIC NO.2 –Installation and configuration of android

FACULTY NAME: Ms. S. B. Ketkale

YASHWANTRAO CHAVAN POLYTECHNIC


ICHALKARANJI
• Unit Outcomes
• Describe function of the given component to operate the
specified IDE.
• Explain the given term related to virtual machine.
• Explain the given basic term related to Android development
tools.
• Describe the features of given android emulator.
• Describe the steps to configure the given android development
environment
• Operating System
• An Operating System (OS) is an interface between a
computer user and computer hardware.
• An operating system is a software which performs all the
basic tasks.
• Like file management, memory management, process
management, handling input and output, and controlling
peripheral devices such as disk drives and printers
• Operating System
• Some examples include versions of Microsoft Windows (like
Windows 10, Windows 8, Windows 7, Windows Vista, and
Windows XP),
• Apple's macOS, Chrome OS, BlackBerry Tablet OS.
• Flavors of the open source operating system Linux.
• Some examples include Windows Server, Linux, and
FreeBSD.
1. Five of the most common operating systems
-Microsoft Windows.
– Apple iOS.
– Google's Android OS.
– Apple macOS.
– Linux Operating System.
• What is JVM and JDK?
– JDK is for development purpose whereas JRE is for
running the java programs. JDK and JRE both
contains JVM so that we can run our java
program. JVM is the heart of java programming
language and provides platform independence.
• How many types of JDK are there?
– There are four platforms of the Java programming
language: Java Platform, Standard Edition (Java
SE) Java Platform, Enterprise Edition (Java EE) Java
Platform, Micro Edition (Java ME)
• Is Jdk a compiler?
– The JDK includes "javac" tool which compiles Java
source code to a format (byte code) that's very
optimized, but not quite machine language, which
your hardware can understand.
– Therefore, JDK also comes the "java" tool, which
parses the byte code and converts it to machine
language, executing it right away.
• Android SDK.
– A software development kit that enables developers to
create applications for the Android platform.
• The Android SDK includes sample projects with
source code, development tools, an emulator, and
required libraries to build Android applications.
• SDK provides a selection of tools required to build
Android apps or to ensure the process goes as
smoothly as possible.
• Anatomy of the Android SDK
• The Android SDK can be broken down into
several components. These include:
– Platform-tools
– Build-tools
– SDK-tools
– The Android Debug Bridge (ADB)
– Android Emulator
• Platform-tools
• The Platform tools are more specifically suited to the version
of Android that you want to target.
• Generally, it is best to install the latest Platform tools, which
will be installed by default.
• After first installation though, you need to keep your Platform-
tools constantly updated.
• The tools should be backwards compatible, meaning that you
will still be able to support older versions of Android.
• Build-tools
• The Build tools were once categorized under the same
heading as the Platform tools but have since been decoupled
so that they can be updated separately.
• As the name suggests, these are also needed to build your
Android apps.
• This includes the zipalign tool for instance, which optimizes
the app to use minimal memory when running prior to
generating the final APK, and the apksigner which signs the
APK (surprise!) for subsequent verification.
• SDK-Tools
• The most important parts of this package are in the SDK-tools.
• You will need these tools regardless of which version of
Android you are targeting.
• These are what will actually create the APK – turning your
Java program into an Android app that can be launched on a
phone.
• These include a number of build tools, debugging tools, and
image tools.
• The Android Debug Bridge (ADB)
• The Android Debug Bridge (ADB) is a program that allows you
to communicate with any Android device.
• It relies on Platform-tools in order to understand the Android
version that is being used on said device and hence it is
included in the Platform-tools package.
• You can use ADB to access shell tools such as logcat, to query
your device ID or even to install apps.
• Android Emulator
• The Android emulator is what lets you test and monitor apps
on a PC, without necessarily needing to have a device
available.
• To use this, you also get an Android system image designed to
run on PC hardware.
• You’ll use the Android Virtual Device manager in order to
choose which version of Android you want to emulate, along
with the device specifications (screen size, performance etc.).
• Android Development Tools (ADT)
• Android Development Tools (ADT) is a plugin for the Eclipse IDE that is
designed to give you a powerful, integrated environment in which to
build Android applications.
• Android Virtual Devices (AVDs)
• An Android Virtual Device (AVD) is a device configuration
that is run with the Android emulator.
• It works with the emulator to provide a virtual device-specific
environment in which to install and run Android apps.
• An Android emulator is an Android Virtual Device (AVD)
that represents a specific Android device.
• You can use an Android emulator as a target platform to run
and test your Android applications on your PC.
• It provides virtual device- specific Android Environment in
which we can install & test our Android Application.
• Emulators
• An Android emulator is an Android Virtual Device
(AVD) that represents a specific Android device.
• You can use an Android emulator as a target platform to
run and test your Android applications on your PC.
• Emulators are legal to download and use, however,
sharing copyrighted ROMs online is illegal.
• Windows emulator for android is a software or a
program for android. It is used to Run the
Windows operating system in an Android device or
simply we can say to run windows on android.
 Top Android Emulators
• GameLoop
• BlueStacks
• MEmu
• Ko Player
• Genymotion
• Nox Player
• Android Studio
• Remix OS
• PrimeOS
• ARChon
• Bliss OS
• Dalvik Virtual Machine
• Dalvik is a part of the software stack that makes up
the Android platform.
• According to Google's Android documentation, the Dalvik
VM is an interpreter-only virtual machine that executes files
in the Dalvik Executable (.dex) format, a format that is
optimized for efficient storage and memory-mappable
execution.
• The Dalvik Virtual Machine (DVM) is an android virtual
machine optimized for mobile devices
• It optimizes the virtual machine for memory, battery life and
performance.
• The Dalvik VM was written by Dan Bornstein.
• The Dex compiler converts the class files into the .dex file that
run on the Dalvik VM.
• Multiple class files are converted into one dex file.
• The javac tool compiles the java source file into the class file.
• The dx tool takes all the class files of your application and
generates a single .dex file. It is a platform-specific tool.
• The Android Assets Packaging Tool (aapt) handles the
packaging process.
Difference between JVM and DVM
Instalation steps android
Step 1: Go to https://developer.android.com/android-studio/download to get the Android Studio
executable or zip file.

Step 2:
● Click on the Download Android Studio Button.
● Click on the “I have read and agree with the above terms and conditions” checkbox followed by
the download button
● Click on the Save file button in the appeared prompt box and the file will start downloading.

Step 3: After the downloading has finished, open the file from downloads and will prompt the
following dialog box. Click on next. In the next prompt, it’ll ask for a path for installation. Choose
a path and hit next.

Step 4: It will start the installation, and once it is completed, it will be like the image shown below.

Step 5: Once “Finish” is clicked, it will ask whether the previous settings need to be imported [if
the android studio had been installed earlier], or not. It is better to choose the ‘Don’t import
Settings option’. Click the OK button.
Step 6: This will start the Android Studio. Meanwhile, it will be finding the
available SDK components.

Step 7: After it has found the SDK components, it will redirect to the
Welcome dialog box. Choose Standard and click on Next. Now choose the
theme, whether the Light theme or the Dark one. The light one is called the
IntelliJ theme whereas the dark theme is called Darcula. Choose as
required. Click on the Next button.

Step 8: Now it is time to download the SDK components. Click on Finish.


Components begin to download let it complete. The Android Studio has
been successfully configured. Now it’s time to launch and build apps. Click
on the Finish button to launch it.

Step 9: Click on Start a new Android Studio project to build a new ap

You might also like