budtmo / budtmo/docker-android

[Web test] Error in Appium server: 'app' option is required for reinstall

Open
#136 9 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Python
Stars
15.8k
Forks
1.8k
Avg merge
12h 13m
Merged PRs (30d)
6

Description

**Operating System**
Ubuntu 18.04.1 LTS

**Docker Image**
butomo1989/docker-android-x86-8.1:1.6-p0

**Docker Version**
Docker version 17.05.0-ce, build 89658be

**Docker Command to start docker-android**
> docker run --rm --privileged -p 6080:6080 -p 4723:4723 -e DEVICE="Samsung Galaxy S6" -e AUTO_RECORD=true -e APPIUM=true -v $PWD:/tmp/video butomo1989/docker-android-x86-8.1:1.6-p0


## Expected Behavior
I want to run the following [test](https://github.com/bonigarcia/webdrivermanager-examples/blob/master/src/test/java/io/github/bonigarcia/wdm/test/AppiumTest.java) with Appium using the URL: http://localhost:4723/wd/hub

## Actual Behavior
The request reaches the Appium server in the container, but an internal error happens:

```
An unknown server-side error occurred while processing the command. Original error: 'app' option is required for reinstall
at getResponseForW3CError (/usr/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:826:9)
at asyncHandler (/usr/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:447:37)
```

The error can be seen in the Appium server console through noVNC:

![screenshot from 2019-01-09 14-09-44](https://user-images.githubusercontent.com/5413013/50901369-46bbe380-1418-11e9-8ea3-b7ec582d4567.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.