Skip to main content

How to deploy Android Emulator from CMD in Windows


  1. First go to your C drive
  2. Then find Users folder and your Personal folder in my case acer
  3. Then go to .android folder
  4. Now first you have to check what are the available emulators first

    emulator -list-avds
  5. you will get some thing like this, if not you have to create emulator device first.


  6.  Now run following command by specifying which device you want. For me i will pick Nexus_5_API_24

    emulator -avd Nexus_5_API_24
  7. And your job is done.




Comments

Popular posts from this blog

How to create Push Notification System for your Cordova app with OneSignal and Firebase

H ello Everyone, today i'm going to show you how to add push notification system for your Cordova mobile app with OneSignal. First let's talk little bit about OneSignal. OneSignal is a multi-platform push notification service, which gives you variety of features. It lets you to send push notifications to almost all current mobile Operating Systems. You can check out their documentation if you want or start straightly this tutorial. If you need to see the project structure  and stuff  go to github repo Lets begin our tutorial 😎😎😎 First lets create a Cordova project. type following command in your CMD.    C:\Users\acer>cordova create push There will be a structure like this,      Now run android emulator, if you don't know how to run emulator from your CMD see this tutorial and do it exactly like that. Go to your project folder and then type the following command in your CMD  C:\Users\acer\push>cordova platfor...

Creating a fully functional page object model automation framework with Selenium in 1 hour

In this tutorial we will check how to create a simple Selenium/ Testng page object model framework with reporting and logging capabilities. For this I'm using Intellij idea IDE Community version because of its amazing debugging capabilities. Also I'm using Maven, Selenium with Testng with log4j. Let's begin, 1. Create a Maven project using intellij IDE. 2. Prepare the project structure as follows, There should be 4 folders/packages to handle functions, pages, resources and test cases.  Before that delete the existing auto org.example folders in both main and test folders. Then created following folders as below. 3. Now we need to download all the necessary packages we need to use in this project. Paste following mvn dependencies in your pom.xml file within <dependencies></dependencies> tags. before that remove this junit dependency which is already coming automatically because we don't need it. <dependency> <groupId> junit </groupId> ...