SlideShare a Scribd company logo
Android Development Tools and
Installation
Prof. Erwin M. Globio, MSIT
Managing Director of eglobiotraining.com
http://eglobiotraining.com/
Installation of the Android development tools
Google provides tools to develop Android applications. You have
to choice to use either Eclipse or IntelliJ based tools.
This guide describes both approaches but the focus is on the
Eclipse based tooling.
Standalone Eclipse ADT installation
Download
Google provides a pre-packaged and configured Eclipse based
Android development environment. Under the following URL
you find an archive file which includes all required tools for
Android development: Getting the Android SDK .
http://eglobiotraining.com/
Pre-requisites for using a 64bit Linux
The Android SDK is 32bit, therefore on a 64bit Linux system you
need to have the package ia32-libs installed. For Ubuntu you can
do this via the following command.
apt-get install ia32-libs
Please check your distribution documentation, if you are using a
different flavor of Linux.
Standalone ADT installation
Extract the zip file and start Eclipse from the eclipse folder via the
eclipse native launcher, e.g. eclipse.exe under Windows.
http://eglobiotraining.com/
Install Android SDK version
Using the Android SDK manager
The Android SDK Manager allows you to install specific versions
of the Android API. Select Window → Android SDK Manager
from the Eclipse menu.
http://eglobiotraining.com/
The dialog allows you to install and delete packages.
Select Available packages and open the Third Party Add-ons. Select the latest Google
API (highest number) of the SDK and press the Install button. The following
screenshot shows the API 16 but if there is a never version available install this
version.
http://eglobiotraining.com/
Press the Install button and confirm the license for all packages. After the installation
completes, restart Eclipse.
Install support library
In the Android SDK Manager select Extras and install the Android support library.
Updating an existing Eclipse IDE installation
Install ADT Plug-ins and Android SDK
The following description assumes that you have already a flavor of the Eclipse IDE
installed which you want to update to develop Android applications. Use the Eclipse
update manager via Help → Install new software to install all available components for
the Android Development Tools (ADT) from the following URL:
https://dl-ssl.google.com/android/eclipse/
http://eglobiotraining.com/
After the new Android development components are installed, you will be
prompted to install the Android SDK. You can use the following wizard or go to the
next section to learn how to do it manually.
http://eglobiotraining.com/
http://eglobiotraining.com/
http://eglobiotraining.com/
Manual installation of the Android SDK
After the installation of the ADT the Eclipse tooling allows to
download the Android SDK automatically. Alternatively you can
also manually download the Android SDK from the Android
SDK download page.
http://developer.android.com/sdk/index.html
The download contains a zip file, which you can extract to any
place in your file system, e.g. on my Linux system I placed it
into the /home/vogella/android-sdks folder. Avoid using spaces
in the path name, otherwise you may experience problems
with the usage of the Android SDK.
http://eglobiotraining.com/
You also have to define the location of the Android SDK in the Eclipse
Preferences. In Eclipse open the Preferences dialog via the
menu Window → Preferences. Select Android and enter the installation path of
the Android SDK.
http://eglobiotraining.com/
Android installation verification
The best way to verify that your installation did work
correctly is to create an Android Virtual device. Please
follow the instructions below and make sure that the
device actually can start otherwise you will face issues
during the training.
http://eglobiotraining.com/
Exercise: Create and run Android Virtual Device
Create AVD
Define a new Android Virtual Device (ADV) with open the AVD Manager via
Window → Android Virtual Device Manager and press the New button.
http://eglobiotraining.com/
Enter values similar to the following screenshot.
http://eglobiotraining.com/
Tip
Ensure that the Use Host GPU option is selected. This makes
the AVD use the graphical processing unit of your computer
and this makes rendering much faster.
Afterwards press the OK button. This will create the AVD
configuration and display it under the list of available virtual
devices.
http://eglobiotraining.com/
Start your AVD
To test if your setup is correct, select your new AVD entry and press
the Start button
http://eglobiotraining.com/
Warning
Do not interrupt this startup process, as this might corrupt the AVD.
The first startup may take on an older machine up to 10 minutes.
On a modern machine is typically takes 1-3 minutes for a new AVD
to finish its starting process.
After the AVD started, you can use the AVD via the mouse. If you selected
the option and via the virtual keyboard of the emulator.
Warning
The initial startup of the emulator is relatively long, starting the emulator is
similar to starting an Android device. During development you don't stop
the AVD, you just re-deploy your application.
http://eglobiotraining.com/
http://eglobiotraining.com/
http://eglobiotraining.com/

More Related Content

PDF
Android Wear Code Lab
PPT
Android tutorial
PPT
Android SDK and PhoneGap
ODP
techSocAndroid1
PDF
Essentials of developing_tizen_web_application_en_1.0
PPTX
Developing Android Apps
PPTX
How to create android applications
DOCX
Set up vs code for salesforce
Android Wear Code Lab
Android tutorial
Android SDK and PhoneGap
techSocAndroid1
Essentials of developing_tizen_web_application_en_1.0
Developing Android Apps
How to create android applications
Set up vs code for salesforce

What's hot (20)

PDF
Extension manager cs5 release notes
PDF
Android installation
PPTX
HTC Bluetooth Low Energy Heart Rate Monitor Sample Code
PPT
Ayw app inventor
PDF
Startup weekend bootcamp - Android up and running
DOCX
Installing the java sdk
PDF
Langkah-langkah Instalasi software untuk develop aplikasi android
DOCX
AppiumSetupConfigurationonWindows
PPTX
JUnit and MUnit Set Up In Anypoint Studio
PDF
React Native Android. It's easy.
PDF
How to edit in Capcut?
PDF
Mobile App Testing ScanAgile 2012
PPTX
DOCX
Installing android sdk on net beans
PPTX
Github plugin setup in anypointstudio
DOCX
Android wear notes
PPTX
Using galen framework for automated cross browser layout testing
PPTX
Cloud hub deployment
PPT
Step by step user guide
PDF
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
Extension manager cs5 release notes
Android installation
HTC Bluetooth Low Energy Heart Rate Monitor Sample Code
Ayw app inventor
Startup weekend bootcamp - Android up and running
Installing the java sdk
Langkah-langkah Instalasi software untuk develop aplikasi android
AppiumSetupConfigurationonWindows
JUnit and MUnit Set Up In Anypoint Studio
React Native Android. It's easy.
How to edit in Capcut?
Mobile App Testing ScanAgile 2012
Installing android sdk on net beans
Github plugin setup in anypointstudio
Android wear notes
Using galen framework for automated cross browser layout testing
Cloud hub deployment
Step by step user guide
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...
Ad

Similar to Android Development Tools and Installation (20)

PPTX
Android chapter02-setup1-sdk
PPTX
03 Beginning Android Application Development
PPTX
PPT
How to install android sdk
PDF
Android SDK: How to Install
PDF
Android training in Noida
PPT
Android Application Development Environment Setup
PPT
Webinar on Google Android SDK
PPTX
Developing for Android-Types of Android Application
PPTX
Android App development I
PPTX
Android
PPTX
Methods to set up android app development environment
PPT
Getting Started With Android
PPT
Getting started with android dev and test perspective
PPTX
Android software development – the first few hours
PPTX
Android installation guide
PPT
Lec004 setting up for development
PPT
9780134433646 annuzzi ch02 (1)
PDF
Android Development Primer - GDG Los Angeles
PDF
Android Overview
Android chapter02-setup1-sdk
03 Beginning Android Application Development
How to install android sdk
Android SDK: How to Install
Android training in Noida
Android Application Development Environment Setup
Webinar on Google Android SDK
Developing for Android-Types of Android Application
Android App development I
Android
Methods to set up android app development environment
Getting Started With Android
Getting started with android dev and test perspective
Android software development – the first few hours
Android installation guide
Lec004 setting up for development
9780134433646 annuzzi ch02 (1)
Android Development Primer - GDG Los Angeles
Android Overview
Ad

More from Prof. Erwin Globio (20)

PPT
Embedded System Presentation
PDF
BSCS | BSIT Thesis Guidelines
PPT
Internet of Things
PPTX
Networking Trends
PPTX
Sq lite presentation
PDF
Ethics for IT Professionals
PDF
Cisco Router Basic Configuration
PPTX
Introduction to iOS Apps Development
PPTX
Cloud Computing Latest
PPT
Introduction to Android Development Latest
PPTX
iOS Apps Development (SQLite Tutorial Part 2)
PPTX
iOS Apps Development (SQLite Tutorial Part 1)
PDF
A tutorial on C++ Programming
PDF
Overview of C Language
PDF
Introduction to Computer Programming
PPTX
Android Fragments
PPTX
Solutions to Common Android Problems
PDF
Java Collections Tutorials
PDF
Action Bar in Android
PDF
Resource Speaker
Embedded System Presentation
BSCS | BSIT Thesis Guidelines
Internet of Things
Networking Trends
Sq lite presentation
Ethics for IT Professionals
Cisco Router Basic Configuration
Introduction to iOS Apps Development
Cloud Computing Latest
Introduction to Android Development Latest
iOS Apps Development (SQLite Tutorial Part 2)
iOS Apps Development (SQLite Tutorial Part 1)
A tutorial on C++ Programming
Overview of C Language
Introduction to Computer Programming
Android Fragments
Solutions to Common Android Problems
Java Collections Tutorials
Action Bar in Android
Resource Speaker

Recently uploaded (20)

PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Lesson notes of climatology university.
PDF
Pre independence Education in Inndia.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
Pharma ospi slides which help in ospi learning
PDF
RMMM.pdf make it easy to upload and study
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Supply Chain Operations Speaking Notes -ICLT Program
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
FourierSeries-QuestionsWithAnswers(Part-A).pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Lesson notes of climatology university.
Pre independence Education in Inndia.pdf
Basic Mud Logging Guide for educational purpose
Microbial disease of the cardiovascular and lymphatic systems
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Renaissance Architecture: A Journey from Faith to Humanism
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Final Presentation General Medicine 03-08-2024.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Classroom Observation Tools for Teachers
Pharma ospi slides which help in ospi learning
RMMM.pdf make it easy to upload and study
102 student loan defaulters named and shamed – Is someone you know on the list?
VCE English Exam - Section C Student Revision Booklet
O7-L3 Supply Chain Operations - ICLT Program
Supply Chain Operations Speaking Notes -ICLT Program

Android Development Tools and Installation

  • 1. Android Development Tools and Installation Prof. Erwin M. Globio, MSIT Managing Director of eglobiotraining.com http://eglobiotraining.com/
  • 2. Installation of the Android development tools Google provides tools to develop Android applications. You have to choice to use either Eclipse or IntelliJ based tools. This guide describes both approaches but the focus is on the Eclipse based tooling. Standalone Eclipse ADT installation Download Google provides a pre-packaged and configured Eclipse based Android development environment. Under the following URL you find an archive file which includes all required tools for Android development: Getting the Android SDK . http://eglobiotraining.com/
  • 3. Pre-requisites for using a 64bit Linux The Android SDK is 32bit, therefore on a 64bit Linux system you need to have the package ia32-libs installed. For Ubuntu you can do this via the following command. apt-get install ia32-libs Please check your distribution documentation, if you are using a different flavor of Linux. Standalone ADT installation Extract the zip file and start Eclipse from the eclipse folder via the eclipse native launcher, e.g. eclipse.exe under Windows. http://eglobiotraining.com/
  • 4. Install Android SDK version Using the Android SDK manager The Android SDK Manager allows you to install specific versions of the Android API. Select Window → Android SDK Manager from the Eclipse menu. http://eglobiotraining.com/
  • 5. The dialog allows you to install and delete packages. Select Available packages and open the Third Party Add-ons. Select the latest Google API (highest number) of the SDK and press the Install button. The following screenshot shows the API 16 but if there is a never version available install this version. http://eglobiotraining.com/
  • 6. Press the Install button and confirm the license for all packages. After the installation completes, restart Eclipse. Install support library In the Android SDK Manager select Extras and install the Android support library. Updating an existing Eclipse IDE installation Install ADT Plug-ins and Android SDK The following description assumes that you have already a flavor of the Eclipse IDE installed which you want to update to develop Android applications. Use the Eclipse update manager via Help → Install new software to install all available components for the Android Development Tools (ADT) from the following URL: https://dl-ssl.google.com/android/eclipse/ http://eglobiotraining.com/
  • 7. After the new Android development components are installed, you will be prompted to install the Android SDK. You can use the following wizard or go to the next section to learn how to do it manually. http://eglobiotraining.com/
  • 10. Manual installation of the Android SDK After the installation of the ADT the Eclipse tooling allows to download the Android SDK automatically. Alternatively you can also manually download the Android SDK from the Android SDK download page. http://developer.android.com/sdk/index.html The download contains a zip file, which you can extract to any place in your file system, e.g. on my Linux system I placed it into the /home/vogella/android-sdks folder. Avoid using spaces in the path name, otherwise you may experience problems with the usage of the Android SDK. http://eglobiotraining.com/
  • 11. You also have to define the location of the Android SDK in the Eclipse Preferences. In Eclipse open the Preferences dialog via the menu Window → Preferences. Select Android and enter the installation path of the Android SDK. http://eglobiotraining.com/
  • 12. Android installation verification The best way to verify that your installation did work correctly is to create an Android Virtual device. Please follow the instructions below and make sure that the device actually can start otherwise you will face issues during the training. http://eglobiotraining.com/
  • 13. Exercise: Create and run Android Virtual Device Create AVD Define a new Android Virtual Device (ADV) with open the AVD Manager via Window → Android Virtual Device Manager and press the New button. http://eglobiotraining.com/
  • 14. Enter values similar to the following screenshot. http://eglobiotraining.com/
  • 15. Tip Ensure that the Use Host GPU option is selected. This makes the AVD use the graphical processing unit of your computer and this makes rendering much faster. Afterwards press the OK button. This will create the AVD configuration and display it under the list of available virtual devices. http://eglobiotraining.com/
  • 16. Start your AVD To test if your setup is correct, select your new AVD entry and press the Start button http://eglobiotraining.com/
  • 17. Warning Do not interrupt this startup process, as this might corrupt the AVD. The first startup may take on an older machine up to 10 minutes. On a modern machine is typically takes 1-3 minutes for a new AVD to finish its starting process. After the AVD started, you can use the AVD via the mouse. If you selected the option and via the virtual keyboard of the emulator. Warning The initial startup of the emulator is relatively long, starting the emulator is similar to starting an Android device. During development you don't stop the AVD, you just re-deploy your application. http://eglobiotraining.com/