android studio procedure

1
To set up Android Studio on Windows: 1. Download Android Studio from following link https://developer.android.com/sdk/installing/studio.html 2. Follow the setup wizard to install Android Studio. Download & Install JDK:- download JDK following link (Java Platform (JDK) http://www.oracle.com/technetwork/java/javase/downloads/index.html Set Environment Variables Steps: - 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 example C:\Program Files\Java\ jdk1.8.0_05. SDK 1. Android Studio give you default SDK path but not updated SDK Package (No need to set SDK path) 2. You need to update your default SDK or change your new SDK to old SDK (Updated). 3. You want change your default SDK package, go to following steps. 4. File > Project Structure > Android SDK Location > set your path updated SDK package Path. Create AVD: - Tools > Android > AVD Manager > create > Type AVD Name > select Device > select Target > select Skin > press OK. > Select created AVD & press Start > select (check √) to Scale display to real size > enter > Screen size (in): 5 or 6 or 7 > & press Launch. Create Hello World Program 1. File > New Project > type Application Name > type Company domain > select project location > press Next > select (check √) > select minimum SDK press Next > select Activity to mobile > press Next > enter Activity Name (optional) > Finish. 2. Run Hello World Program: - Select your program > go to Run Tab & press “Run App” > Choose Device > and press OK ……….. Congrats!!! You’re first Hello World Program Run Successfully on Android Studio.

Upload: networkit7

Post on 15-Jul-2015

177 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Android studio procedure

To set up Android Studio on Windows:

1. Download Android Studio from following link

https://developer.android.com/sdk/installing/studio.html

2. Follow the setup wizard to install Android Studio.

Download & Install JDK:- download JDK following link (Java Platform (JDK)

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Set Environment Variables

Steps: - 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 example C:\Program Files\Java\

jdk1.8.0_05.

SDK

1. Android Studio give you default SDK path but not updated SDK Package (No need to set SDK

path)

2. You need to update your default SDK or change your new SDK to old SDK (Updated).

3. You want change your default SDK package, go to following steps.

4. File > Project Structure > Android SDK Location > set your path updated SDK package Path.

Create AVD: - Tools > Android > AVD Manager > create > Type AVD Name > select Device

> select Target > select Skin > press OK. > Select created AVD & press Start > select (check

√) to Scale display to real size > enter > Screen size (in): 5 or 6 or 7 > & press Launch.

Create Hello World Program

1. File > New Project > type Application Name > type Company domain > select project

location > press Next > select (check √) > select minimum SDK press Next > select Activity to

mobile > press Next > enter Activity Name (optional) > Finish.

2. Run Hello World Program: - Select your program > go to Run Tab & press “Run App” >

Choose Device > and press OK ……….. Congrats!!! You’re first Hello World Program Run

Successfully on Android Studio.