mirror of
https://github.com/budtmo/docker-android.git
synced 2026-04-25 12:15:52 +03:00
[GH-ISSUE #195] Emulator hangs on loading screen #138
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-android#138
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 @mcopjan on GitHub (Aug 28, 2019).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/195
🐛 Bug Report
Operating System:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
Docker Image:
budtmo/docker-android-x86-9.0
Docker Version:
Docker version 18.09.5, build e8ff056
Docker Command to start docker-android:
docker run --privileged -d -p 6080:6080 -p 4723:4723 -p 5554:5554 -p 5555:5555 -e DEVICE="Samsung Galaxy S10" -e APPIUM=true -e CONNECT_TO_GRID=true -e APPIUM_HOST="xxx.xxx.xxx.xx" -e APPIUM_PORT=4723 -e SELENIUM_HOST="xxx.xxx.xxx.xx" -e SELENIUM_PORT=4444 -e MOBILE_WEB_TEST=true -e RELAXED_SECURITY=true --name android-container budtmo/docker-android-x86-9.0
Expected Behavior
Emulator loads properly and device home page is displayed
Actual Behavior
Emulator is stuck on Google loading screen
Logs
martinc@ubuntu:~/bin$ docker exec -it android-container tail -f /var/log/supervisor/docker-android.stdout.log
emulator: No acpi ini file provided, using default
emulator: onGuestSendCommand: [0x8ef2800] Adb connected, start proxing data
emulator: _hwFingerprint_connect: connect finger print listen is called
emulator: got message from guest system fingerprint HAL
@budtmo commented on GitHub (Sep 11, 2019):
Hi @mcopjan,
could you share your machine spec?
@mcopjan commented on GitHub (Sep 11, 2019):
@budtmo
Ubuntu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 2
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 94
Model name: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Stepping: 3
CPU MHz: 2601.000
BogoMIPS: 5202.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0,1
@budtmo commented on GitHub (Oct 22, 2019):
is this issue still valid? @mcopjan
@mateleshkavo commented on GitHub (Nov 11, 2019):
@budtmo I have the same problem when launching docker images with 9.0 and 10.0 Android versions in the Kubernetes cluster. Here are my specs:
spec: containers: - env: - name: APPIUM value: "true" - name: APPIUM_HOST valueFrom: fieldRef: fieldPath: status.podIP - name: CONNECT_TO_GRID value: "true" - name: SELENIUM_HOST value: "xxx.xxx.xx.xx" - name: SELENIUM_PORT value: "30208" - name: MOBILE_WEB_TEST value: "true" - name: "BROWSER" value: "chrome" - name: "DEVICE" value: "Samsung Galaxy S10" image: "budtmo/docker-android-x86-10.0" name: android8-appium ports: - containerPort: 6080 securityContext: privileged: true resources: requests: memory: "2Gi" cpu: "3" limits: memory: "4Gi" cpu: "4" nodeSelector: beta.kubernetes.io/os: linuxAndroid 8.1 and earlier works fine.
VM OS is CentOS 7.7
@mcopjan commented on GitHub (Nov 25, 2019):
Hi @budtmo, yes this is still the issue. I tried on different Linux VM as well (Centos) with the following compose file
and having the same problem as reported above. Interestingly as @mateleshkavo mentioned, the same compose file with version 8.1 works fine. Any idea? I wonder how people are using version 9.0 & 10.0
@mcopjan commented on GitHub (Nov 25, 2019):
When running with version 10.0
@NoelOmo commented on GitHub (Jan 21, 2020):
Any update on this issue? Did you find a workaround solution?
@mcopjan commented on GitHub (Mar 16, 2020):
@NoelOmo yes, it is still an issue. I can spin up emulators for versions 7.1.1 and 8.1 but when I am using them with Appium to run tests I am getting "chromedriver is not reachable" error. I was hoping this would be resolved by using higher versions 9.0 or 10.0 (with higher version of chromedriver) but they exhibit the behaviour described above.
@budtmo any thoughts please? Do you have any HowTo build custom image with specific version of Chrome browser, chromedriver and Appium please?