3. 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
4. Installing Android Studio
Android 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.
5. 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 FilesJavajdk1.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
6. Adding SDK Packages
Android 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 tools
2. Get the support library for additional APIs
3. Install the packages
7. 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
8. 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.
9. 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.
10. 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.
11. 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 info@baabtra.com or Visit baabtra.com
Looking for learning more about the above
topic?
12. India Centres
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Cafit Square IT Park,
Hilite Business Park,
Kozhikode
Kerala, India.
Email: info@baabtra.com
TBI - NITC
NIT Campus, Kozhikode.
Kerala, India.
Start up Village
Eranakulam,
Kerala, India.
Start up Village
UL CC
Kozhikode, Kerala
13. 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
14. 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.