Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added documentation for Install application from APK #31

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions docs/Installing-an-application-from-APK.md
garg3133 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Installing an application from APK

## Introduction

This guide will show you how to install an application from an APK file on your Android emulator.
garg3133 marked this conversation as resolved.
Show resolved Hide resolved

## Prerequisites

- Setup Android Emulator using [mobile-helper-tool](https://github.com/nightwatchjs/mobile-helper-tool)
- APK file of the application you want to install
- `adb` command should be available in your terminal. You can check this by running `adb --version` in your terminal.
garg3133 marked this conversation as resolved.
Show resolved Hide resolved

## Assumptions
- APK path is `/path/to/your/app.apk`
- Application package name is `your.app.package`

## Steps

### Check if Emulator is running
```bash
adb devices
```

### Install the application
```bash
adb install /path/to/your/app.apk
garg3133 marked this conversation as resolved.
Show resolved Hide resolved
```

### Verify the installation
```bash
adb shell pm list packages -f | grep your.app.package
garg3133 marked this conversation as resolved.
Show resolved Hide resolved
```

### Remove the application
```bash
adb uninstall your.app.package
```
garg3133 marked this conversation as resolved.
Show resolved Hide resolved