KEMBAR78
Android Chapter 2 | PDF | Android (Operating System) | Software Development
0% found this document useful (0 votes)
7 views21 pages

Android Chapter 2

This document provides a comprehensive guide on setting up Android Studio, the official IDE for Android app development, which replaced Eclipse in 2015. It details the installation process, including configuration settings and environment variable adjustments for Java. The document concludes with an agenda for the next lecture, focusing on developing and configuring the first app.

Uploaded by

Alok Gupta
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)
7 views21 pages

Android Chapter 2

This document provides a comprehensive guide on setting up Android Studio, the official IDE for Android app development, which replaced Eclipse in 2015. It details the installation process, including configuration settings and environment variable adjustments for Java. The document concludes with an agenda for the next lecture, focusing on developing and configuring the first app.

Uploaded by

Alok Gupta
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/ 21

CHAPTER 2

ANDROID
DEVELOPMENT
TOOLS
Android Development
Setup
 Before we begin coding in Android , we need to setup our
system for Android development.

 For many years, Eclipse IDE with the ADT plugin was the
preferred platform for Android development. Today
it's Android Studio.
Introduction To Android
Studio
 Android Studio is the official Integrated Development
Environment (IDE) for Android app development, based
on IntelliJ IDEA .

 It was announced on May 16, 2013 at the Google I/O


Conference and finally in 2015 it totally replaced Eclipse as one
and the only official Android IDE
Installing Android
Studio
Installing Android
Studio
Installing Android
Studio
 Launch the android-studio-bundle-xxx-windows.exe to
start the installation process. The installer responded by
presenting the Android Studio Setup dialog box shown
below
Installing Android
Studio
 Clicking Next will take you to the following dialog box,
which gives you the option to decline installing the Android
SDK (included with the installer) and an Android Virtual
Device (AVD).
Installing Android
Studio
 Keep the default settings. After clicking Next, you'll be
taken to the license agreement dialog box. Accept the
license to continue the installation.
Installing Android
Studio
 The next dialog box invites you to change the installation
locations for Android Studio and the Android SDK.
Installing Android
Studio
 Change the location or accept the default locations and click Next.
 The installer defaults to creating a shortcut for launching this
program, or you can choose to decline.
 It is recommended that you create the shortcut, then click the Install
button to begin installation.
Installing Android
Studio
 The resulting dialog box shows the progress of installing Android
Studio and the Android SDK. Clicking the Show Details button will let
you view detailed information about the installation progress.
 The dialog box will inform you when installation has finished. When
you click Next, you should see the following:
Running Android
Studio
 To complete your installation, leave the Start Android
Studio box checked and click Finish.
 Android Studio presents a splash screen when it starts
running:
Running Android
Studio
 On your first run, you'll be asked to respond to several
configuration-oriented dialog boxes.

 The first dialog box focuses on importing settings from any


previously installed version of Android Studio.

 If you don't have a previously installed version, you can just keep
the default setting and click OK
Running Android
Studio
 Android Studio will respond with a slightly enhanced
version of the splash screen, followed by the Android
Studio Setup Wizard dialog box:
Running Android
Studio
 On some Windows systems, the launcher script does not find
where Java is installed. If you encounter this problem, you need
to set an environment variable indicating the correct location.

 Choose Start menu⇒Computer⇒System Properties⇒Advanced


System Properties. Then choose Advanced tab⇒Environment
Variables and add a new system variable, JAVA_HOME, that
points to your JDK folder — for
example, C:\ProgramFiles\Java\jdk1.8.0_75.
Running Android
Studio

 When you click Next, the setup wizard invites you to select
an installation type for your SDK components.

 For now it is recommended that you keep the default


standard setting.
Running Android
Studio
Running Android
Studio
 Click Next and verify your settings, then click Finish to
continue.
Running Android
Studio
 The wizard will download and unzip various components. Click
Show Details if you want to see more information about the
archives being downloaded and their contents.
Running Android
Studio
 Finally, click Finish to complete the wizard. You should see
the Welcome to Android Studio dialog box:
End Of Lecture

For any queries mail us @: scalive4u@gmail.com


Call us @ : 0755-4271659, 7879165533

Agenda for Next Lecture:


1. Developing The First App
2. Configuring The App
3. Understanding Different Screens
4. Running the app

You might also like