Installing Android Studio and Hello World App

Share this

Before Android Studio Programmers were using eclipse for developing android app with Android Developer Tools (ADT)  a plugin for Eclipse that provides GUI-based access to many of the command-line Android SDK tools. 

when android studio is Officially launched they stopped support for The Eclipse ADT plugin. 

The first stable build of Android Studio was released in December 2014. Latest version at the time of writing this post is 2.2.3

Check System Requirements For Android studio
 

 

Windows

 

  • Microsoft® Windows® 7/8/10 (32- or 64-bit)
  • 3 GB RAM minimum, 8 GB RAM recommended; plus 1 GB for the Android Emulator
  • 2 GB of available disk space minimum,
  • 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
  • 1280 x 800 minimum screen resolution
  • For accelerated emulator: 64-bit operating system and Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
Mac
  • Mac® OS X® 10.10 (Yosemite) or higher, up to 10.12 (macOS Sierra)
  • 3 GB RAM minimum, 8 GB RAM recommended; plus 1 GB for the Android Emulator
  • 2 GB of available disk space minimum,
  • 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
  • 1280 x 800 minimum screen resolution
Linux
  • GNOME or KDE desktop
  • Tested on Ubuntu® 12.04, Precise Pangolin (64-bit distribution capable of running 32-bit applications)
  • 64-bit distribution capable of running 32-bit applications
  • GNU C Library (glibc) 2.19 or later
  • 3 GB RAM minimum, 8 GB RAM recommended; plus 1 GB for the Android Emulator
  • 2 GB of available disk space minimum,
  • 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
  • 1280 x 800 minimum screen resolution
  • For accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality, or AMD processor with support for AMD Virtualization™ (AMD-V™)
you can download android studio from official site for free.
Lets see how to install Android Studio on Windows step by step
Installing Android Studio

* {box-sizing:border-box}
body {font-family: Verdana,sans-serif;margin:0}
.mySlides {display:block}

/* Slideshow container */
.slideshow-container {
max-width: 600px;
position: relative;
margin: auto;
}

/* Caption text */
.text {
color: #FFFFFF;
background-color:#000000;
font-size: 15px;
padding: 8px 12px;
position: absolute;
width: 100%;
text-align: center;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.text {font-size: 11px}
}


installing android studio

Open android studio setup


installing android studio

Click Next to continue


installing android studio

Select all components to install then click Next


installing android studio

On Licence Agreement click I Agree


installing android studio

if you want, change Installation location of Android Studio and Android SDK then click Next


installing android studio

Click Install


installing android studio

Setup will install android studio and extract SDK


installing android studio

when completed click Next


installing android studio

Select Start android studio then Finish


installing android studio

As a first time it may ask you to import setting from previous version of android studio. Select i do not want to import then Click OK


installing android studio

Android Studio Loading Screen


installing android studio

Android setup guide wizard Shown for first time click next

installing android studio

Select Standard as we don’t want to customize Settings click Next

installing android studio

It will check for SDK updates click finish

installing android studio

It will download updates

installing android studio

when updates installed Completely click Finish

installing android studio

Android Studio is now Installed Successfully and ready to use. Click on start a new Android Studio project

installing android studio

Type Aplication name you want here i typed First App. type company name or keep default. package name automatically generated from company domain and application name. every app must have unique package id. click next

installing android studio

Select Minimum version under phone and tablet. not sure which to select click help me to choose

installing android studio

if you select ice cream sandwich it will support 97% of all available devices. click Ok

installing android studio

I selected gingerbread api 10 for 100% device compatibility. click next

installing android studio

Type of activity/Screen. select empty click Next

installing android studio

Activity name. default is Main Activity click Next

installing android studio

wait till project is loading

installing android studio

Click project on left sidbar -> expand app ->click res ->click layout you can see our activity_main.xml here. double click to open. you can see screen of our app with hello word text. let’s run it. click run button

installing android studio

Select deployment target. no device listed. so click create a new virtual device

installing android studio

select hardware profile from list. i selected Nexus 4. screen size 4.7 resolution 768×1280. click Next

installing android studio

Select system image. I selected nougat api level 24. click Next

installing android studio

Give name for avd click Finish


installing android studio

Now avd is listed select it and click Ok

installing android studio

Wait emulator is starting

installing android studio

Emulator started. our app will get install automatically and start

installing android studio

WOW !!! our first app is now opened.

 

If you face any problem installing Android Studio comment below

 


Share this

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *