Update Google Play Services and some other useful stuff by adb

This commit is contained in:
App-Test 2018-07-30 16:19:05 +04:30
parent 460e0b8daf
commit de71e5156c

View file

@ -144,6 +144,14 @@ There is [example of compose file] to run complete selenium grid and docker-andr
```bash ```bash
docker-compose up -d docker-compose up -d
``` ```
### Google Play Services
The Google play services (v12.8.74) will be downloaded from [apklinker](https://www.apklinker.com/wp-content/uploads/uploaded_apk/5b51570a214a8/com.google.android.gms_12.8.74-040700-204998136_12874026_MinAPI23_(x86)(nodpi)_apklinker.com.apk) in src/utils.sh file when emulator booted . you can edit utils.sh as you need any adb stuffs and mount it as follow in docker-compose file :
volumes:
- $PWD//videos:/tmp/video
- $PWD/src/utils.sh:/root/src/utils.sh
or when run directly
docker run --privileged -d -p 6080:6080 -p 4723:4723 -p 5554:5554 -p 5555:5555 -v $PWD/src/utils.sh:/root/src/utils.sh -v $PWD/example/sample_apk:/root/tmp -e DEVICE="Nexus 5" -e APPIUM=true -e CONNECT_TO_GRID=true -e APPIUM_HOST="127.0.0.1" -e APPIUM_PORT=4723 -e SELENIUM_HOST="172.17.0.1" -e SELENIUM_PORT=4444 --name android-container butomo1989/docker-android-x86-8.1
Build Android project Build Android project
--------------------- ---------------------