How To Set Environment For Android Development?
If You Want To Work With Any Programming Language a Specific Software Is Must.
Example: To Work With JAVA Then Installing JAVA Software, If You are Want To
With .Net The You Need To Specific .Net Software To Be Install Like Wise..
To Work With Android Also You Need To Install Android Software In You Machine.
To Install Android Software In Your Machine Follow The Steps
Step1:
Firstly Download Java From Oracle Corporation
Bar and Download Java jdk According To You System OS ,(Like Windows...etc)
NOTE: Please Verify What is your system Requirements like 32 bit or 64 bit Before Downloading.
To Know Your System Requirements Just Right Click on MyComputer--GoTo--Properties..
See System Type: 32 bit Operating System.
After Downloading You will Get jdk.exe file just Double click on the .exe and follow all the steps one by one till you get finish window.
After Java get Installed You Need to set PATH and ClassPath.
Watch YouTube Video: https://youtu.be/IYrgkAwBXj4
Setting PATH Environment Variable
How To Know That JAVA is Successfully Installed Or Not.
Open Command Prompt. and Type java if it display all commands then java is installed successfully, if not you will get 'java' not recognized Error.
If You are getting Error Means JDK Does not installed Successfully Or PATH, CLASSPATH Does Not Set Please Check above Steps Carefully.
Step 2:
After Installing JAVA Step 2 Is To Install Android Software To Do So
Goto Developer Site Like https://developer.android.com/sdk/index.html and Click on Android Studio For Window option below, it will Start Download
After Download Just Click On android studio.exe file and Install it as You install Java software follow all the steps and click on finish.
After android studio successfully installed it will get opened it will take a bit of time after it get started then you need to install all the packages has it requirement for our development.
How To Install Packages:
Goto the path where the android sdk saved c:\users\sunil.ambilpura\AppData\Local\Android\sdk and click on SDK Manager.It will Open like the below then mark all the package and click on Install.
NOTE: To Install All the packages INTERNET or WIFI is Mandatory.
After Successfully insalled all the packages it ready to work with android programming.
Step 3:
How To Create Emulator in Android Studion:
What is Emulator:
When we Build Our Application we need to run it, So in android we can run all our apps in on emulator.

(OR)
Click on AVD (Android Virtual Device) Green Icon Show in android symbol at the top right side next to android SDK Manager and before question mark symbol.
It Will Open a window called Android Device Moniter from there you have to click on the Android Virtual Device Manger which is located at the top right side after DDMS, half arrow down SDK manager. Once You Click On the Icon Then Follow This Steps carefully.
A Window will Opened in front of you, There are Two Symbols on top called Android Virtual Device and Device Definitions Don't Do Nothing Just Click on Create Option from Right Corner of the window
Give AVD name: Android
Device Type: Choose Any Nexus Type like Nexus 4 or Nexus 5
Target: Android API like 5.0.1 or above
CPU/ABI: choose any Android TV ARM(arneabi-v7a) or any one
Skin: skin with dynamic hardware
Front camera: NONE
Back Camera: NONE
Leave All Other Options as is its and Just Click On ok Button from bottom.
As Shown Below.......

How To Know That Emulator Created Or Not
Just Click on middle Purble color icon On the top right side located as shown in the figure's circle red mark of the android studio as show in the figure below.
Once you click on the icon A window will open as Your Virtual Devices Named and You Will See the Emulator with Nexus 4 or 5 what ever you given the name while creating emulator. Just Double Click on the Nexus 4 or Nexus 5 etc as show in the figure below once you double click on it then Emulator it will get start, wait a minutes because it will Take some time, for first to lauch Emulator.
Here You Should Run All Our Applications.
NEXT Tutorial: What is Android ? Android vs Microsoft In Detail
If You Want To Work With Any Programming Language a Specific Software Is Must.
Example: To Work With JAVA Then Installing JAVA Software, If You are Want To
With .Net The You Need To Specific .Net Software To Be Install Like Wise..
To Work With Android Also You Need To Install Android Software In You Machine.
To Install Android Software In Your Machine Follow The Steps
Step1:
Firstly Download Java From Oracle Corporation
How To Download Java Just type http://www.oracle.com/
Bar and Download Java jdk According To You System OS ,(Like Windows...etc)
NOTE: Please Verify What is your system Requirements like 32 bit or 64 bit Before Downloading.
To Know Your System Requirements Just Right Click on MyComputer--GoTo--Properties..
See System Type: 32 bit Operating System.
After Downloading You will Get jdk.exe file just Double click on the .exe and follow all the steps one by one till you get finish window.
After Java get Installed You Need to set PATH and ClassPath.
Watch YouTube Video: https://youtu.be/IYrgkAwBXj4
Setting PATH Environment Variable
- From the desktop, right click the Computer icon.
- Choose Properties from the context menu.
- Click the Advanced system settings link.
- Click Environment Variables. In the section System Variables, find the
PATH
environment variable and select it. Click Edit. If thePATH
environment variable does not exist, clickNew
. - In the Edit System Variable (or New System Variable) window, specify the Name and Value as below Enter PATH in the Variable Name and enter Location where java stored in your System c:\programfiles\java\jdk1.6.20\lib
- Click OK. Close all remaining windows by clicking OK.
Setting CLASSPATH Environment Variable:
- From the desktop, right click the Computer icon.
- Choose Properties from the context menu.
- Click the Advanced system settings link.
- Click Environment Variables. In the section System Variables, find the
PATH
environment variable and select it. Click Edit. If thePATH
environment variable does not exist, clickNew
. - In the Edit System Variable (or New System Variable) window, specify the Name and Value as below Enter PATH in the Variable Name and enter Location where java stored in your System c:\programfiles\java\jdk1.6.20\lib
- Click OK. Close all remaining windows by clicking OK.
Open Command Prompt. and Type java if it display all commands then java is installed successfully, if not you will get 'java' not recognized Error.
If You are getting Error Means JDK Does not installed Successfully Or PATH, CLASSPATH Does Not Set Please Check above Steps Carefully.
Step 2:
After Installing JAVA Step 2 Is To Install Android Software To Do So
Goto Developer Site Like https://developer.android.com/sdk/index.html and Click on Android Studio For Window option below, it will Start Download
After Download Just Click On android studio.exe file and Install it as You install Java software follow all the steps and click on finish.
After android studio successfully installed it will get opened it will take a bit of time after it get started then you need to install all the packages has it requirement for our development.
How To Install Packages:
Goto the path where the android sdk saved c:\users\sunil.ambilpura\AppData\Local\Android\sdk and click on SDK Manager.It will Open like the below then mark all the package and click on Install.
NOTE: To Install All the packages INTERNET or WIFI is Mandatory.
After Successfully insalled all the packages it ready to work with android programming.
Step 3:
How To Create Emulator in Android Studion:
What is Emulator:
When we Build Our Application we need to run it, So in android we can run all our apps in on emulator.

(OR)
It Will Open a window called Android Device Moniter from there you have to click on the Android Virtual Device Manger which is located at the top right side after DDMS, half arrow down SDK manager. Once You Click On the Icon Then Follow This Steps carefully.
A Window will Opened in front of you, There are Two Symbols on top called Android Virtual Device and Device Definitions Don't Do Nothing Just Click on Create Option from Right Corner of the window
Device Type: Choose Any Nexus Type like Nexus 4 or Nexus 5
Target: Android API like 5.0.1 or above
CPU/ABI: choose any Android TV ARM(arneabi-v7a) or any one
Skin: skin with dynamic hardware
Front camera: NONE
Back Camera: NONE
Leave All Other Options as is its and Just Click On ok Button from bottom.
As Shown Below.......

How To Know That Emulator Created Or Not
Just Click on middle Purble color icon On the top right side located as shown in the figure's circle red mark of the android studio as show in the figure below.
Once you click on the icon A window will open as Your Virtual Devices Named and You Will See the Emulator with Nexus 4 or 5 what ever you given the name while creating emulator. Just Double Click on the Nexus 4 or Nexus 5 etc as show in the figure below once you double click on it then Emulator it will get start, wait a minutes because it will Take some time, for first to lauch Emulator.
Please Send Your Comments To ambilpura.sunil@gmail.com
NEXT Tutorial: What is Android ? Android vs Microsoft In Detail
No comments:
Post a Comment