Installing the Android SDK

Similar documents
Getting Started with Android Development

Application Development Setup Guide

Download and Installation Instructions. Android SDK and Android Development Tools (ADT)

Android Development Setup [Revision Date: 02/16/11]

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Epidefender Studio Installation notice

Android Setup Phase 2

How to build your first Android Application in Windows

Setting up Sudoku example on Android Studio

Introduction to Android Development

Setting Up Your Android Development Environment. For Mac OS X (10.6.8) v1.0. By GoNorthWest. 3 April 2012

How To Run A Hello World On Android (Jdk) On A Microsoft Ds.Io (Windows) Or Android Or Android On A Pc Or Android 4 (

Fahim Uddin 1. Java SDK

Android Environment SDK

Android 4.4 App Development Essentials

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Hello World. by Elliot Khazon

How to Create an Android Application using Eclipse on Windows 7

Home Course Catalog Schedule Pricing & Savings Training Options Resources About Us

TUTORIAL ECLIPSE CLASSIC VERSION: ON SETTING UP OPENERP 6.1 SOURCE CODE UNDER WINDOWS PLATFORM. by Pir Khurram Rashdi

1) SETUP ANDROID STUDIO

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM Eng. Wafaa Audah.

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

Android Development. 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系

Java. How to install the Java Runtime Environment (JRE)

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen,

Lab 0 (Setting up your Development Environment) Week 1

CSA Software Listing Table of Contents. Both Windows and Mac platforms are supported.

Tutorial on Basic Android Setup

Getting Started using the SQuirreL SQL Client

How to install and use the File Sharing Outlook Plugin

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

Supplement I.B: Installing and Configuring JDK 1.6

Android: Setup Hello, World: Android Edition. due by noon ET on Wed 2/22. Ingredients.

Configuring the BBj Jetty Web Server (rev10.02) for OSAS

Android Development Tutorial. Nikhil Yadav CSE40816/ Pervasive Health Fall 2011

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release

About this Release. Introduction. Prerequisites. Installation. Using the Web SDK Packager

Android Mobile App Building Tutorial

Primavera P6 Professional Windows 8 Installation Instructions. Primavera P6. Installation Instructions. For Windows 8 Users

Eclipse installation, configuration and operation

How to Install Applications (APK Files) on Your Android Phone

ADT Plugin for Eclipse

Practice Fusion API Client Installation Guide for Windows

IBM TRIRIGA Anywhere Version 10 Release 4. Installing a development environment

Building OWASP ZAP Using Eclipse IDE

How to Set Up Your PC for Android Application Development

With a single download, the ADT Bundle includes everything you need to begin developing apps:

How to Set Up Your PC for Android Application Development

Installing (1.8.7) 9/2/ Installing jgrasp

Instructions for Configuring Your Browser Settings and Online Security FAQ s. ios8 Settings for iphone and ipad app

Basic Android Setup Windows Version

Android Environment SDK

Board also Supports MicroBridge

Supplement I.B: Installing and Configuring JDK 1.6

POOSL IDE Installation Manual

WA2102 Web Application Programming with Java EE 6 - WebSphere RAD 8.5. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

STUDENT ADMINISTRATION TRAINING GUIDE SETTING YOUR BROWSER FOR PEOPLESOFT DOWNLOADS

GETTING STARTED WITH SQL SERVER

Installing Citrix for Mac

PC Troubleshooting Steps

Setting Up a Windows Virtual Machine for SANS FOR526

Android Programming: Installation, Setup, and Getting Started

WA1791 Designing and Developing Secure Web Services. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc. 1

FTP Over SSL (FTPS) Core FTP LE. Installing Core FTP LE"

Using Karel with Eclipse

The cloud server setup program installs the cloud server application, Apache Tomcat, Java Runtime Environment, and PostgreSQL.

Witango Application Server 6. Installation Guide for Windows

Introduction to Gear VR Development in Unity APPENDIX A: SETUP (WINDOWS 7/8)

How to Remotely Access the C&CDHB Network from a Personal Device

How to File the FBAR Electronically. The following steps describe the process of filing an FBAR electronically with our system.

Solution domain. Cloud PC Backup Startingkit for users. Date 26/05/2015 Sensitivity Unrestricted Our reference V1.0 Contact

SIM900 Eclipse environment install Application Note_V1.00

Contents First Time Setup... 2 Setting up the Legal Vault Client (KiteDrive)... 3 Setting up the KiteDrive Outlook Plugin Using the Legal Vault

WA2262 Applied Data Science and Big Data Analytics Boot Camp for Business Analysts. Classroom Setup Guide. Web Age Solutions Inc.

Installing Primavera P6 Professional R8.2

Titanium Mobile: How-To

Generate Android App

Installing Oracle 12c Enterprise on Windows 7 64-Bit

Introduction: The Xcode templates are not available in Cordova or above, so we'll use the previous version, for this recipe.

Section 1.0 Getting Started with the Vālant EMR. Contents

REMOTELY ACCESS YOUR FILES WITH THE FLAGLER FILECONNECT SYSTEM

Click Start > Control Panel > System icon to open System Properties dialog box. Click Advanced > Environment Variables.

Allworx OfficeSafe Operations Guide Release 6.0

SuperOffice AS. CRM Online. Installing the Citrix Online Web plug-in

WA Continuous Integration with Jenkins- CI, Maven and Nexus. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

WatchDox for Mac User Guide

QUICK START. GO-Global Cloud 4.1 SETTING UP A LINUX CLOUD SERVER AND HOST INSTALL THE CLOUD SERVER ON LINUX

Installing Ruby on Windows XP

Developing NFC Applications on the Android Platform. The Definitive Resource

Windows and MAC User Handbook Remote and Secure Connection Version /19/2013. User Handbook

Example Connection between USB Host and Android

PTC Integrity Eclipse and IBM Rational Development Platform Guide

Creating Home Directories for Windows and Macintosh Computers

Android 4.4 App Development Essentials

BSDI Advanced Fitness & Wellness Software

Erie 1 BOCES/WNYRIC. Secure File Transfer. Upload/Download Wizard

Transcription:

Installing the Android SDK To get started with development, we first need to set up and configure our PCs for working with Java, and the Android SDK. We ll be installing and configuring four packages today - Java JDK (Java Developers Kit), the Eclipse Platform, the Android SDK, and the Android Developer Tools (ADT) Plug-in that is configured within Eclipse. Downloads To get started, open a web browser, and visit http://developer.android.com. From the main page, select the download link. Next, download the SDK for your specific platform. If you re installing the SDK on Windows, choose the recommended windows EXE package, rather than the zip file. For Mac or Linux, choose the appropriate version from the list. Once the download completes, head on over to www.oracle.com, and select Downloads from the menu, then locate Java SE under the Java category. Download the latest version of the Java SE (Standard Edition) that is available on the site. We re interested in the JDK (Java Developers Kit) version, not the JRE (Java Runtime Envinronment). 1

Click on the Download button under JDK, and select the package that is best suited to your system. Note that if you re running Apple s OS X, you do not need to download Java at all. It is already preinstalled on your PC. For Windows / Linux, use the 32-bit versions of Java. 64-bit versions of Java and Eclipse may cause your Android applications to fail with odd errors. Google recommends the use of 32- bit software for development. Finally, go to http://www.eclipse.org/downloads/, and locate the downloads section for Eclipse Classic. You are looking for the latest version, for your OS. Download the 32-bit version of Eclipse. The fourth download, the ADT plugin will be downloaded and setup once we have Java, Eclipse, and the SDK setup and functioning. Setup & Configuration Now that we have all of the necessary software, we need to install and configure each of these components on the development PC. We will install our applications in the following order: Java JDK Eclipse Android SDK Eclipse ADT Plugin Java JDK Click on the JDK installer and follow the prompts to install the software. Use all default settings. Eclipse To install Eclipse, simply extract the contents of the downloaded zip file into a folder of your choice. I like to keep it under Program Files (x86)\eclipse in Windows or in the Applications folder on OS X. Open Eclipse, and set your default workspace. The workspace will be the location where we store all of the projects that we are working on or have worked on. Towards the bottom of the dialog box, select Use this as the default and do not ask again checkbox. When Eclipse comes up, exit the application. 2

Android SDK Run the setup for the Android SDK, using all default options. At the end of the installation, the SDK will ask to Start SDK Manager (to download system images, etc.). Uncheck that checkbox and click the Finish button. Android Developer Tools Eclipse Plugin Re-launch Eclipse, and select the Help menu option (upper right hand corner), then Install New Software. Click on the Add button in the Install dialog box that appears and type in Google for the Name, and https://dl-ssl.google.com/android/eclipse/ as the Location, then click OK. Be sure to check the URL against the instructions found on the Android Developer web site to make sure the URL hasn t changed. Select all of the components that appear, and click Next. Accept all of the license agreements, and click on Finish. The download will take several minutes, and will ask you to re-start Eclipse. 3

After Eclipse is restarted, go to the Window menu, then select Preferences. Select the Android tab, and type in or Browse to the location where you installed the Android SDK. Navigate to the Jave section, and expand it. Select Compiler, and make sure that Compiler compliance level is set to 1.6. Now open the Android SDK and AVD Manager from the main toolbar in Eclipse or from the Window menu. Select Available Packages and expand all options. Choose options that you would like install, and click on the Install Selected button. Installing everything here is OK, but you are not likely to work with, or create applications for Android 1.5 or 1.6. Typically, you ll want to support Android 2.1 and higher. The 4

Third party Add-ons includes support for Samsung, Sony, and other companies that have produced Android devices. It is up to you to decide if you want to use any of their software within your development practice. OS Specific Instructions Windows 7 Right-click on the Computer icon in your start menu. Select Properties. Select Advanced System Settings from the sidebar on your left, then choose Environment Variables from the dialog box that appears. Locate Path, and select the Edit button. Add the full path to tools and platform-tools directories to the end of the path string. Be sure to separate each one by a semi-colon. An example string is listed below: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System3 2\WindowsPowerShell\v1.0\;C:\Program Files (x86)\android\android-sdk-windows\tools\;c:\program Files (x86)\android\android-sdk-windows\platform-tools\ The items in gray were previously part of the string, and to that I added the items highlighted in yellow. 5

OS X On a Mac OS X, look in your home directory for a file called.bash_profile. You can create the.bash_profile file if you don't already have one. Look for a line that sets the PATH environment variable and add the full path to the tools/ and platform-tools/ directories to it. Upon completion of these steps, the Android SDK is installed and configured. You re now ready to create a virtual device for testing your applications, and to start developing your first application! 6