I hope, All of yous aready know how to install or uninstall app inwards existent android device. But If yous wants to run amongst android emulators for manual or automation testing, You must endure aware almost how to install or uninstall android applications inwards android emulators. Here I am introduce steps of how to install android app or uninstall whatever android app from android virtual device(Emulator).
PREREQUISITES :
- All PREVIOUS xiv STEPS of appium tutorial should endure executed without whatever error.
- Android emulator should endure created equally described inwards THIS POST.
- .apk file should endure available inwards your PC which yous wants to install inwards emulator. Here I am installing APK Info android application. So convey it's root file com.intelloware.apkinfo.apk inwards my PC to install it inwards emulator. You tin download it from THIS PAGE.
Steps to Install APK inwards Android Emulator
- Launch android emulator. Wait till it starts properly as shown bellow
- Open platform-tools folder of SDK. For me It is located at E:\SDK\platform-tools. View THIS POST to know to a greater extent than almost SDK folder.
- Copy-paste com.intelloware.apkinfo.apk (Which yous wants to install inwards emulator) file in platform-tools folder.
- Navigate to platform-tools folder inwards ascendancy prompt. In platform-tools folder, Press keyboard's CTRL+Shift+Mouse Right Click. It volition opened upwards correct click context carte du jour equally shown inwards bellow image. Select Open ascendancy window here selection from context menu.
- It volition opened upwards ascendancy prompt amongst navigation to platform-tools folder.
- Run adb install com.intelloware.apkinfo.apk in ascendancy prompt.
- Note : Here, com.intelloware.apkinfo.apk Is APK file name. You require to supervene upon it amongst your APK file cite if yous are installing whatever other app.
- It volition commencement installing app inwards emulator. It volition demo message Success afterwards installation of app.
- Now yous tin verify app is installed or non inwards your android emulator. Navigate to principal carte du jour inwards emulator screen. New installed app APK Info volition display at that topographic point on emulator hide equally shown bellow.
Steps to Uninstall APK From Android Emulator
App uninstall procedure from emulator is like to installation procedure from ascendancy prompt. There are 2 ways to uninstall app from android emulator.
1. Uninstall App Manually From Emulator Interface :
It is same equally yous uninstall app from your android device.
- Go to Settings of Emulator.
- Tap on Apps.
- Tap on App which yous wants to uninstall.
- Click on Uninstall button. It volition uninstall app from emulator.
Verify your app volition endure uninstalled from emulator.
2. Uninstall App Using Command Prompt
To uninstall app using ascendancy prompt,
- Open ascendancy prompt together with navigate to platform-tools folder inwards it.
- Run ascendancy adb uninstall com.intelloware.apkinfo inwards ascendancy prompt.
- When app become uninstalled, It volition demo yous message Success. That agency app is uninstalled from your emulator. You tin verify it inwards your emulator.
This way yous tin install together with uninstall whatever app inwards your emulator.