Ide:Intellijidea android studio.
First of all we will create an emulator(virtuald evice) in android studio for run the application.
1)Open the android studio . got to Tools -> Android -> AVD Manager.
2)Go to device definitions tab ,and select a device .Here I am going to select Nexus One. And Create AVD.
3)then create AVD window select Target as google API level 17 .and click on OK.after result window will come and click on OK.4)Now you can see the virtual device under Android virtual devices Tab.Select the virtual device and click on Start .