Wednesday, 19 August 2015

What Is Emulator and How Can We Create Emulator

The Emulator is the place where we can run our all apps.

Emulators are programs that basically mimic or act like the hardware and operating system of other machines. When you install an emulator, you get a virtual console in which you can install other apps and play around with the system. Whether you want to check out Android before you buy a device, develop and test your own Android apps, expand Windows’ paltry app selection, or sync apps between your Android phone or tablet and your PC, you have a number of utilities to choose from.  

This is Emulator Here We Run our all Projects,Now the big question is how to create the emulator for android. I already discussed in my blog's first tutorial.


How To Create Emulator in Android Studion:

Before creating emulator you should intall all the package has we discussed in the earlier as the below

Goto the path where the android sdk saved (ex: 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.


When we Build Our Application The we need to run it, So in android we can run all our apps in on emulator. 

 

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 Purble color icon On the top right side located left side of the half arrow down SDK Manager of the android studio as show in the figure below.


A window will open as Your Virtual Devices Named and You Will See the Emulator with Nexus 4 or 5 what ever you choosen. Just Double Click on the Emulator to start it will Take Bit some time for first to lauch Emulator.


Once you double click on the any of the option as shown in th above figure then
Emulator will get created as below



Here You Should Run All Our Applications.

Please Send Your Comments To ambilpura.sunil@gmail.com


NEXT Tutorial:  Steps To Create First Project In Android Studio  


No comments:

Post a Comment