Open the emulator from the command line
Open the command prompt and go into the 'tools' folder of your Android SDK installed and run the below command,
emulator -avd devicename
For example I have created an emulator already with the name 'test'. so the command would be as below
E:\adt-bundle-windows-x86-20130522\sdk\tools>emulator -avd test.
Install the .apk file into the emulator
Open the new command prompt and go into the 'platform-tools' folder of your Android SDK installed and run the below command,
adb install apkFileNameWithPath
For example, I installe the myApp.apk into the opened emulator by the below command,
E:\adt-bundle-windows-x86-20130522\sdk\platform-tools>adb install E:\AndroidWorkspace\appiumandroid\src\Resource\myApp.apk
ReplyDeleteBest place to learn Appium Android IOS Automation Testing Training in Chennai
Go for Appium training in chennai for real time mobile automation testing training with real time project support.
Mr. Vishwa is a best person who can teach and develop people in Appium and Selenium,Coded UI Automation Tools with real time scenarios You can contact 8122241286 for Best APPIUM and selenium Training in Chennai