mirror of
https://github.com/budtmo/docker-android.git
synced 2026-04-26 04:35:52 +03:00
[GH-ISSUE #149] The emulator reset when the Android app is being installed. #105
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-android#105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @estefafdez on GitHub (Mar 20, 2019).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/149
Operating System: CentOS 7
Docker Image: butomo1989/docker-android-x86-8.1
Docker Version: 18.06.1-ce
Docker-compose version (Only if you use it): None
Docker Command to start docker-android:
docker run --privileged -d -p 6080:6080 -p 5554:5554 -p 5555:5555 -e DEVICE="Samsung Galaxy S6" --name android-container budtmo/docker-android-x86-8.1and
docker run --privileged -d -p 6080:6080 -p 5554:5554 -p 5555:5555 -e DEVICE="Nexus 5" --name android-container budtmo/docker-android-x86-8.1Actual Problem
Hello,
I am using your docker image (budtmo/docker-android-x86-8.1) to execute Appium test on a Maven project.
As you are using not using maven (you had gradle installed), I had to install Maven and set the M2_HOME variable on the image.
Appart from that I had to change the last line of the ~/.profile file for:
tty -s && mesg nin order to make it work.
With both devices I had the same problem. The emulator is running (I can see it on the 6080 port) and Appium is installed, but after that, when Appium is installing the android application, the emulator is reset and start booting.
If I run the same command on the command line with the emulator running the install android app works and I can open the app but not running the Appium Maven project.
This project is a simple Maven project using Appium which works properly and its already tested for us (on Linux, Mac and Windows) so the problem is not the project itself,
I think its something related to the emulator properties (internal memory probably).
Is there any solution you might think? You can see a GIF with the problem ihere:
https://imgur.com/6UqxbMU
Also the full log is attached into this issue.
emulator_failed_log.txt
Thank you very much for your hard work.
@budtmo commented on GitHub (Mar 21, 2019):
duplicated #125