Top Banner
14

Android development environment setup for windows

Apr 14, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Android development environment setup for windows
Page 3: Android development environment setup for windows

Android Studio is the official IDE for Android application development,Android Studio offers

● Flexible Gradle-based build system● Build variants and multiple apk file generation● Code templates to help you build common app features● Rich layout editor with support for drag and drop theme editing● Lint tools to catch performance, usability, version compatibility, and other problems● ProGuard and app-signing capabilities● Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging

and App Engine● And much more

Android Studio Overview

Page 4: Android development environment setup for windows

Installing Android StudioAndroid Studio provides everything you need to start developing apps for Android, including the Android Studio IDE and the Android SDK tools.If you didn't download Android Studio, go download Android Studio now.

Before you set up Android Studio, be sure you have installed JDK 6 or higher (the JRE alone is not sufficient)—JDK 7 is required when developing for Android 5.0 and higher. To check if you have JDK installed (and which version), open a terminal and type javac -version. If the JDK is not available or the version is lower than 6, go download JDK

after Downloading the exe file…open it.

Page 5: Android development environment setup for windows

To set up Android Studio on Windows

1. Launch the .exe file you just downloaded.2. Follow the setup wizard to install Android Studio and any necessary SDK tools.3. 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.- Select Start menu > Computer > System Properties > Advanced System Properties.

Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for exampleC:\Program Files\Java\jdk1.7.0_21.

4. Android Studio is now ready and loaded with the Android developer tools, but there are still a couple packages you should add to make your Android SDK complete

Page 6: Android development environment setup for windows

Adding SDK PackagesAndroid SDK does not include everything you need to start developing.The SDK separates tools, platforms, and other components into packages you can download as needed using the Android SDK Manager. So before you can start, there are a few packages you should add to your Android SDK.

● In Android Studio, click SDK Manager in the toolbar.

When you open the SDK Manager for the first time, several packages are selected by default. Leave these selected, but be sure you have everything you need to get started by following these steps:

1. Get the latest SDK tools2. Get the support library for additional APIs3. Install the packages

Page 7: Android development environment setup for windows

Get the latest SDK tools

As a minimum when setting up the Android SDK, you should download the latest tools and Android platform:

1. Open the Tools directory and select:

- Android SDK Tools- Android SDK Platform-tools- Android SDK Build-tools (highest version)

2. Open the first Android X.X folder (the latest version) and select:

- SDK Platform

- A system image for the emulator, such as

ARM EABI v7a System Image

Page 8: Android development environment setup for windows

Get the the Support library for additional API’s

The Android Support Library provides an extended set of APIs that are compatible with most versions of Android.

Open the Extras directory and select:

● Android Support Repository● Android Support Library

Note: Google Play services APIs are not available on all Android-powered devices, but are available on all devices with Google Play Store. To use these APIs in the Android emulator, you must also install the theGoogle APIs system image from the latest Android X.X directory in the SDK Manager.

Page 9: Android development environment setup for windows

Install the Packages

Once you've selected all the desired packages, continue to install:

1. Click Install X packages.2. In the next window, double-click each package name on the left to accept the license agreement for each.3. Click Install.

The download progress is shown at the bottom of the SDK Manager window. Do not exit the SDK Manager or it will cancel the download.

Page 10: Android development environment setup for windows

Build Something!

❖ With the above packages now in your Android SDK.

❖ you're ready to build apps for Android. As new tools and other APIs become available.

❖ simply launch the SDK Manager to download the new packages for your SDK.

Page 11: Android development environment setup for windows

US UK UAE

7002 Hana Road, Edison NJ 08817, United States of America.

90 High Street,

Cherry Hinton,

Cambridge, CB1 9HZ,

United Kingdom.

Suite No: 51, Oasis Center,

Sheikh Zayed Road, Dubai,

UAE

Email to [email protected] or Visit baabtra.com

Looking for learning more about the above topic?

Page 12: Android development environment setup for windows

India Centres

Emarald Mall (Big Bazar Building)Mavoor Road, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550

NC Complex, Near Bus StandMukkam, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550

Cafit Square IT Park,Hilite Business Park,KozhikodeKerala, India.

Email: [email protected]

TBI - NITCNIT Campus, Kozhikode.Kerala, India.

Start up VillageEranakulam,Kerala, India.

Start up VillageUL CCKozhikode, Kerala

Page 13: Android development environment setup for windows

Follow us @ twitter.com/baabtra

Like us @ facebook.com/baabtra

Subscribe to us @ youtube.com/baabtra

Become a follower @ slideshare.net/BaabtraMentoringPartner

Connect to us @ in.linkedin.com/in/baabtra

Give a feedback @ massbaab.com/baabtra

Thanks in advance

www.baabtra.com | www.massbaab.com |www.baabte.com

Page 14: Android development environment setup for windows

Want to learn more about programming or Looking to become a good programmer?

Are you wasting time on searching so many contents online?

Do you want to learn things quickly?

Tired of spending huge amount of money to become a Software professional?

Do an online course @ baabtra.com

We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.