Preview : Android Simulator

 
In most cases
You WILL NOT NEED an Android Simulator.

 You can install your Android builds directly on your device.


Genymotion
Genymotion is a great quality Android simulator.

You can easily create virtual Android devices and preview on your computer.
Genymotion lets you run different versions of Android OS as well as different hardware (phones and tablets). To get it running, just follow these steps.

 1: Download and Install VirtualBox if you are running the OS X version of Genymotion.
http://download.virtualbox.org/virtualbox/4.3.12/VirtualBox-4.3.12-93733-OSX.dmg
 
2: Download and Install Genymotion
https://cloud.genymotion.com/page/launchpad/download/
 
When installing choose a Virtual Device of your choice that is Android OS 4.3 or lower. (Note: You only need to add the files found in Step 3 if you want to have 'Google Play Services' running in the emulator. Otherwise you can just install any Android OS version and drag and drop your .apk file)
 
3: Download these zip files to your computer
gapps-jb-20130812-signed.zip
 
Genymotion-ARM-Translation_v1.1.zip
 
4: To enable the Google Services, (ex. Play Store, drag and drop APK files to install onto device) drag these ZIP files into the Android Desktop of the running virtual device.

 

Using the EachScape Inspector with Genymotion:


To use the EachScape Inspector with an app running in the Genymotion emulator, you need to modify the network settings to make the virtual device use the same network as your computer.

Note: Make sure Genymotion is not running when you make the following modification.


Step 1
Open VirtualBox and locate the virtual machine associated with your Genymotion Virtual Device.  Select the device, and click Settings.

 

 

Step 2
Click on the Network tab, then the Adapter 2 tab.  In the Attached to: drop-down menu, select 
Bridged Adapter
.  Click OK.  Close VirtualBox.

 

(Note: Make sure in the tab Adapter 1 the Attached to: drop-down menu, has Host-only Adapter selected).

 

Step 3
 Run Genymotion, open up the device you just modified, and navigate to the wifi settings.  Make note of the IP address. Run an EachScape app in the virtual device and then, from your computer, open your browser and navigate to the http://<IP address>:8080 where <IP address> is the address you made note of in the WiFi settings.