google / android-emulator-container-scripts

Apache License 2.0
1.9k stars 268 forks source link

support non-KVM, non-privileged runners (currently works with ARM emulators) #21

Open eighthave opened 5 years ago

eighthave commented 5 years ago

Its great to see Google officially support running the emulator in Docker containers!

The big, public CI services like Travis, GitLab-CI, etc. do not provide KVM or privileged runners by default. That means people have to run their own runners, which is a big chunk of work. The ARM emulators work in Docker without KVM or privileged. Yes, they are very slow, but they work.

741g commented 5 years ago

Got it, thanks. But is it necessary to have it be an ARM emulator? One can run the x86 emulators without KVM via the command line flag -no-accel.

eighthave commented 5 years ago

x86 would be great, I've never had any luck with -no-accel, that's why I suggested ARM, because it works now.

741g commented 5 years ago

Interesting; what problems were you having with -no-accel?

eighthave commented 5 years ago

The emulator didn't start. I only ever tried in gitlab-ci, and maybe in Travis, so I didn't really have a way to debug it.

eighthave commented 5 years ago

Here are two example runs with android-29, x86_64 and -no-accel, both fail to start:

Here is one example run with android-22, armeabi, without -no-accel:

pokowaka commented 5 years ago

Not sure what is happening with the first one. The android-22 avd you are trying to boot with arm is missing the kernel-ranchu kernel. We cannot boot this image with the latest emulator.

eighthave commented 5 years ago

The android-22 armeabi emulator runs with a pinned emulator version, something like 28.0.23, I don't know exactly off the top of my head. That one works fine in gitlab-ci, that's why I included it here.

eighthave commented 5 years ago

Here's a simple example using emulator v29.2.1 without Docker in a user account with no access to /dev/kvm:

$ echo no | /opt/android-sdk/tools/bin/avdmanager -v create avd --name avd28 --tag default --package "system-images;android-28;default;x86_64"
Auto-selecting single ABI x86_64========] 100% Fetch remote repository...       
Do you wish to create a custom hardware profile? [no]
$ /opt/android-sdk/emulator/emulator-headless -avd avd28 -no-accel
statvfs('/home/android-sdk/.android/avd/avd28.avd/snapshots/default_boot/ram.img') failed: No such file or directory
emulator: WARNING: x86_64 emulation may not work without hardware acceleration!
Segmentation fault
eighthave commented 5 years ago

Ok, one more point of clarity: emulator vs. emulator-headless doesn't stop the crashing. Adding -no-window makes it work:

$ /opt/android-sdk/emulator/emulator-headless -avd avd28 -no-accel
emulator: WARNING: x86_64 emulation may not work without hardware acceleration!
Segmentation fault
$ /opt/android-sdk/emulator/emulator -avd avd28 -no-accel
statvfs('/home/android-sdk/.android/avd/avd28.avd/snapshots/default_boot/ram.img') failed: No such file or directory
emulator: WARNING: x86_64 emulation may not work without hardware acceleration!
Warning: could not connect to display  ((null):0, (null))
emulator: INFO: QtLogger.cpp:66: Warning: could not connect to display  ((null):0, (null))

emulator: INFO: QtLogger.cpp:66: Info: Could not load the Qt platform plugin "xcb" in "/opt/android-sdk-linux/emulator/lib64/qt/plugins" even though it was found. ((null):0, (null))

Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.
 ((null):0, (null))
emulator: INFO: QtLogger.cpp:66: Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.
 ((null):0, (null))

Aborted
$ /opt/android-sdk/emulator/emulator -avd avd28 -no-accel -no-window &
statvfs('/home/android-sdk/.android/avd/avd28.avd/snapshots/default_boot/ram.img') failed: No such file or directory
emulator: WARNING: x86_64 emulation may not work without hardware acceleration!
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
$ adb devices 
List of devices attached
emulator-5556   device
$ adb -e shell
generic_x86_64:/ $ 
741g commented 5 years ago

Thanks for the find there; this seems to be a bug in the headless build. Will look into it.

eighthave commented 5 years ago

Ok, so this is not quite there. I've confirmed I can get emulator-headless -no-accel -no-window is running on my machine. But in GitLab-CI's limited Docker environment, the emulator still fails to start. Here's the test log:

https://gitlab.com/eighthave/ci-images-client/-/jobs/326821281

The "Waiting for emulator to start" lines from the wait-for-emulator script, which polls using adb -e shell getprop init.svc.bootanim. You can see that the emulator starts booting, since there is the message "Waiting for emulator to start: device offline". But then after a little while, the emulator seems to vanish, and the polling turns to "Waiting for emulator to start: error: no emulators found", which comes from adb -e shell.

The debug when it fails looks like this:

Waiting for emulator to start: device offline
emulator: onGuestSendCommand: [0x109dd200] Adb connected, start proxing data
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 25
emulator: (metrics::reportConditional) ignoring
emulator: MemoryReport: uptime: 63766, Res/ResMax/Virt/VirtMax: 1446064128 1446064128 3606990848 3606990848
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 25
emulator: _camera_service_connect: Connecting camera client 'Factory'
emulator: _factory_client_recv Camera factory query 'list'
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 25
emulator: MemoryReport: uptime: 68766, Res/ResMax/Virt/VirtMax: 1498120192 1498120192 3606990848 3606990848
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 25
Waiting for emulator to start: error: no emulators found

When the emulator is started in a GitLab-CI runner that supports KVM, this is that segment of the debug log: https://gitlab.com/eighthave/fdroidclient/-/jobs/320356215

Waiting for emulator to start: device offline
emulator: MemoryReport: uptime: 30024, Res/ResMax/Virt/VirtMax: 129703936 129703936 1518415872 1518415872
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 18
emulator: MemoryReport: uptime: 31024, Res/ResMax/Virt/VirtMax: 141033472 141033472 1566810112 1566810112
VERBOSE: AdbHostServer.cpp:49: Send [0012host:emulator:5555] to adb daemon.
emulator: onGuestSendCommand: [0x4ee5ea0] Adb connected, start proxing data
VERBOSE: AdbHostServer.cpp:49: Send [0012host:emulator:5555] to adb daemon.
emulator: MemoryReport: uptime: 32024, Res/ResMax/Virt/VirtMax: 213372928 213372928 1607671808 1607671808
emulator: _camera_service_connect: Connecting camera client 'Factory'
emulator: _factory_client_recv Camera factory query 'list'
<< ATE0Q0V1
>> OK
<< AT+CTEC?
handleTech. cmd: +CTEC?
>> +CTEC: 0,f<CR>OK
<< AT+CTEC=?
>> +CTEC: 0,1,2,3<CR>OK
<< ATE0Q0V1
>> OK
<< ATS0=0
>> OK
<< AT+CMEE=1
>> OK
<< AT+CREG=2
>> OK
<< AT+CGREG=1
>> OK
<< AT+CCWA=1
>> OK
<< AT+CMOD=0
>> OK
<< AT+CMUT=0
>> OK
<< AT+CSSN=0,1
>> OK
<< AT+COLP=0
>> OK
<< AT+CSCS="HEX"
>> OK
<< AT+CUSD=1
>> OK
<< AT+CGEREP=1,0
>> OK
<< AT+CMGF=0
>> %CTZV: 19/10/14:13:32:40+0:0:Etc!UTC<CR><LF><CR>OK
<< AT+CFUN?
>> +CFUN: 0<CR>OK
emulator: MemoryReport: uptime: 33024, Res/ResMax/Virt/VirtMax: 506355712 506355712 2117935104 2117939200
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 18
emulator: MemoryReport: uptime: 34024, Res/ResMax/Virt/VirtMax: 571088896 571088896 2130780160 2130780160
emulator: MemoryReport: uptime: 35024, Res/ResMax/Virt/VirtMax: 615424000 615424000 2130780160 2130780160
Waiting for emulator to start: booting

Based on the logs, it seems related to the camera.

eighthave commented 5 years ago

And I can reproduce this crash on my machine in an account that has KVM access, with Nexus_5X_API_29 created via Android Studio's GUI:

$ /opt/android-sdk/emulator/emulator-headless @Nexus_5X_API_29 -no-accel -no-window -verbose -debug all -camera-front emulated -camera-back emulated
[snip]
emulator: onGuestSendCommand: [0x1270f400] Adb connected, start proxing data
start pairing up wear to phone
successfully opened up connection to port 5037
sending query '0017host:transport:542347d2' to adb
received mesg from adb host:OKAY
sending query '001dshell:getprop ro.product.name' to adb
received mesg from adb host:OKAYFP2

successfully opened up connection to port 5037
sending query '0017host:transport:542347d2' to adb
received mesg from adb host:OKAY
sending query '0032shell:pm list packages com.google.android.wearable' to adb
emulator: MemoryReport: uptime: 40374, Res/ResMax/Virt/VirtMax: 1391083520 1391083520 3381440512 3381440512
received mesg from adb host:OKAY
successfully opened up connection to port 5037
sending query '001chost:transport:emulator-5554' to adb
received mesg from adb host:OKAY
sending query '001dshell:getprop ro.product.name' to adb
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 27
emulator: _camera_service_connect: Connecting camera client 'Factory'
emulator: qemud_service_connect_client: registered client channel -1 for 'camera' service
emulator: _qemudPipe_sendBuffers: list\x00
emulator: _factory_client_recv Camera factory query 'list'
emulator: _qemud_pipe_send: len=  8 '00000005'
emulator: _qemud_pipe_send: len=  3 'ok:'
emulator: _qemud_pipe_send: len=  2 '\n\x00'
emulator: _qemudPipe_recvBuffers: -> 8 (of 8)
emulator: _qemudPipe_recvBuffers: -> 5 (of 5)
emulator: MemoryReport: uptime: 45374, Res/ResMax/Virt/VirtMax: 1457995776 1457995776 3381440512 3381440512
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 27
received mesg from adb host:OKAYsdk_phone_x86_64

successfully opened up connection to port 5037
sending query '001chost:transport:emulator-5554' to adb
received mesg from adb host:OKAY
sending query '0032shell:pm list packages com.google.android.wearable' to adb
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 27
emulator: MemoryReport: uptime: 50374, Res/ResMax/Virt/VirtMax: 1521217536 1521217536 3381440512 3381440512
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 27
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 27
Segmentation fault

Removing -camera-front emulated -camera-back emulated seems to make it crash in a different place (this machine has a webcam):

$ /opt/android-sdk/emulator/emulator-headless @Nexus_5X_API_29 -no-accel -no-window -verbose -debug all 
[snip]
sending query '0017host:transport:542347d2' to adb
received mesg from adb host:OKAY
sending query '0032shell:pm list packages com.google.android.wearable' to adb
emulator: MemoryReport: uptime: 45378, Res/ResMax/Virt/VirtMax: 1430560768 1430560768 3367821312 3367821312
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 27
received mesg from adb host:OKAY
successfully opened up connection to port 5037
sending query '001chost:transport:emulator-5554' to adb
received mesg from adb host:OKAY
sending query '001dshell:getprop ro.product.name' to adb
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 27
emulator: MemoryReport: uptime: 50378, Res/ResMax/Virt/VirtMax: 1499430912 1499430912 3367821312 3367821312
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 27
received mesg from adb host:OKAYsdk_phone_x86_64

successfully opened up connection to port 5037
sending query '001chost:transport:emulator-5554' to adb
received mesg from adb host:OKAY
sending query '0032shell:pm list packages com.google.android.wearable' to adb
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 27
emulator: MemoryReport: uptime: 55378, Res/ResMax/Virt/VirtMax: 1571356672 1571356672 3369922560 3369922560
emulator: _hwFingerprint_connect: connect finger print listen is called

emulator: qemud_service_connect_client: registered client channel -1 for 'fingerprintlisten' service
emulator: _qemudPipe_sendBuffers: 0006
emulator: _qemudPipe_sendBuffers: listen
emulator: got message from guest system fingerprint HAL

Segmentation fault
bitsydarel commented 4 years ago

Hi,

i'm having the same issue but in my case. specifying: -gpu off or gpu swiftshader_indirect make the emulator crash

what is strange is that -gpu host is not crash (Docker container)...

bitsydarel commented 4 years ago

-gpu guest also crash.

sandbox@f38937cb962d:~/projects$ emulator -avd android_emulator -noaudio -no-boot-anim -delay-adb -gpu guest -no-accel -show-kernel -verbose -debug all emulator: Android emulator version 29.3.4.0 (build_id 6110076) (CL:N/A) emulator: Found AVD name 'android_emulator' emulator: Found AVD target architecture: x86_64 emulator: argv[0]: 'emulator'; program directory: '/home/sandbox/tools/android-sdk/emulator' emulator: Found directory: /home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64/

emulator: emuDirName: '/home/sandbox/tools/android-sdk/emulator' emulator: try dir /home/sandbox/tools/android-sdk/emulator emulator: Trying emulator path '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64' emulator: Found target-specific 64-bit emulator binary: /home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64 emulator: Adding library search path: '/home/sandbox/tools/android-sdk/emulator/lib64' emulator: Adding library search path: '/home/sandbox/tools/android-sdk/emulator/lib64/gles_angle' emulator: Adding library search path: '/home/sandbox/tools/android-sdk/emulator/lib64/gles_angle9' emulator: Adding library search path: '/home/sandbox/tools/android-sdk/emulator/lib64/gles_angle11' emulator: Adding library search path: '/home/sandbox/tools/android-sdk/emulator/lib64/gles_swiftshader' emulator: Adding library search path: '/home/sandbox/tools/android-sdk/emulator/lib64/libstdc++' emulator: Adding library search path for Qt: '/home/sandbox/tools/android-sdk/emulator/lib64/qt/lib' emulator: Silencing all qWarning(); use qCWarning(...) instead: QT_LOGGING_RULES=default.warning=false emulator: Setting Qt plugin search path: QT_QPA_PLATFORM_PLUGIN_PATH=/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins emulator: Setting Qt to use software OpenGL: QT_OPENGL=software emulator: Setting QML to use software QtQuick2D: QMLSCENE_DEVICE=softwarecontext emulator: Overriding pre-existing bad Qt high dpi settings... emulator: Setting LD_PRELOAD to /home/sandbox/tools/android-sdk/emulator/lib64/qt/lib/libfreetype.so.6 emulator: Running :/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64 emulator: qemu backend: argv[00] = "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64" emulator: qemu backend: argv[01] = "-avd" emulator: qemu backend: argv[02] = "android_emulator" emulator: qemu backend: argv[03] = "-noaudio" emulator: qemu backend: argv[04] = "-no-boot-anim" emulator: qemu backend: argv[05] = "-delay-adb" emulator: qemu backend: argv[06] = "-gpu" emulator: qemu backend: argv[07] = "guest" emulator: qemu backend: argv[08] = "-no-accel" emulator: qemu backend: argv[09] = "-show-kernel" emulator: qemu backend: argv[10] = "-verbose" emulator: qemu backend: argv[11] = "-debug" emulator: qemu backend: argv[12] = "all" emulator: Concatenated backend parameters: /home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64 -avd android_emulator -noaudio -no-boot-anim -delay-adb -gpu guest -no-accel -show-kernel -verbose -debug all emulator: autoconfig: -skin HVGA emulator: autoconfig: -skindir (null) emulator: autoconfig: -kernel /home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//kernel-ranchu emulator: Target arch = 'x86_64' emulator: Auto-detect: Kernel image requires new device naming scheme. emulator: Auto-detect: Kernel does not support YAFFS2 partitions. emulator: autoconfig: -ramdisk /home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//ramdisk.img emulator: Using initial system image: /home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//system.img emulator: Using initial vendor image: /home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//vendor.img emulator: autoconfig: -data /home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/userdata-qemu.img emulator: autoconfig: -initdata /home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/userdata.img emulator: autoconfig: -cache /home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/cache.img emulator: Increasing RAM size to 1536MB emulator: VM heap size 0MB is below hardware specified minimum of 384MB,setting it to that value emulator: System image is read only emulator: Found 1 DNS servers: 192.168.32.2 emulator: INFO: IniFile.cpp:105: Line 1: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 2: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 3: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 4: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 5: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 6: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 7: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 8: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 9: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 10: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 11: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 12: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 13: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 15: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 16: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 17: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 18: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 19: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 20: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 21: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 22: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 23: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 24: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 25: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 26: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 27: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 28: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 29: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 30: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 31: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 32: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 33: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 34: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 36: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 37: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 38: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 39: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 40: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 41: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 42: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 43: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 44: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 45: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 46: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 47: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 48: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 49: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 50: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 51: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 52: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 53: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 54: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 55: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 56: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 57: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 58: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 59: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 60: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 61: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 62: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 64: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 65: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 66: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 67: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 68: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 69: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 70: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 71: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 72: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 74: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 75: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 76: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 77: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 78: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 79: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 80: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 81: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 82: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 83: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 84: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 85: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 86: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 88: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 89: Skipped empty line. emulator: INFO: IniFile.cpp:98: Line 90: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 91: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 92: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 93: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 94: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 95: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 96: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 98: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 99: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 100: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 101: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 102: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 103: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 105: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 106: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 108: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 110: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 111: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 112: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 113: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 114: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 115: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 116: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 117: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 118: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 119: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 121: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 122: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 123: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 124: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 125: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 126: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 127: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 129: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 130: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 131: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 132: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 133: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 134: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 135: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 136: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 137: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 139: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 140: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 141: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 142: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 143: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 145: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 146: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 147: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 148: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 149: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 151: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 152: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 153: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 154: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 155: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 157: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 158: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 159: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 160: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 161: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 162: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 163: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 164: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 169: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 170: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 171: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 172: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 174: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 175: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 176: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 177: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 179: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 180: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 181: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 182: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 184: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 185: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 186: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 188: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 189: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 190: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 191: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 193: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 194: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 195: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 196: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 198: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 199: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 200: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 202: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 203: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 204: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 206: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 207: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 208: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 210: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 211: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 212: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 214: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 215: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 217: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 218: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 220: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 221: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 223: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 224: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 226: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 227: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 229: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 230: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 232: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 233: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 234: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 235: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 237: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 238: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 240: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 241: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 242: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 244: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 245: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 246: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 248: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 249: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 250: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 251: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 252: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 254: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 255: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 256: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 258: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 259: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 260: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 262: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 263: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 264: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 266: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 267: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 268: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 269: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 270: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 272: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 273: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 274: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 275: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 276: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 278: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 279: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 280: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 281: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 283: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 284: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 285: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 286: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 288: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 289: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 290: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 291: Skipped comment line. emulator: INFO: IniFile.cpp:98: Line 293: Skipped empty line. emulator: INFO: IniFile.cpp:105: Line 294: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 295: Skipped comment line. emulator: INFO: IniFile.cpp:105: Line 296: Skipped comment line. emulator: skin_winsys_get_monitor_rect: begin

emulator: skin_winsys_get_monitor_rect: get Qt window

emulator: skin_winsys_get_monitor_rect: get Qt window (done)

emulator: skin_winsys_get_monitor_rect: Begin calling platform specific display queries.

emulator: skin_winsys_get_monitor_rect: Linux: XOpenDisplay(NULL)

emulator: skin_winsys_get_monitor_rect: Linux: XOpenDisplay(NULL) (done)

emulator: skin_winsys_get_monitor_rect: Linux: DefaultScreenOfDisplay(s_display)

emulator: skin_winsys_get_monitor_rect: Linux: DefaultScreenOfDisplay(s_display) (done)

emulator: skin_winsys_get_monitor_rect: (0,0) 1366x768 emulator: skin name 'HVGA' aliased to '320x480' emulator: found magic skin width=320 height=480 bpp=16

emulator: INFO: interface.cpp:131: Found invalid RAM file. Deleting snapshot. emulator: Registered QEMUD service boot-properties emulator: registered 'boot-properties' qemud service emulator: Adding boot property: 'qemu.cmdline' = 'androidboot.logcat=v:* androidboot.consolepipe=qemu_pipe,pipe:logcat' emulator: Adding boot property: 'qemu.logcat' = 'start' emulator: CPU Acceleration: DISABLED emulator: CPU Acceleration status: /dev/kvm is not found: VT disabled in BIOS or KVM kernel module not loaded emulator: WARNING: x86_64 emulation may not work without hardware acceleration! emulator: skin_winsys_get_monitor_rect: begin

emulator: skin_winsys_get_monitor_rect: get Qt window

emulator: skin_winsys_get_monitor_rect: get Qt window (done)

emulator: skin_winsys_get_monitor_rect: Begin calling platform specific display queries.

emulator: skin_winsys_get_monitor_rect: Linux: XOpenDisplay(NULL)

emulator: skin_winsys_get_monitor_rect: Linux: XOpenDisplay(NULL) (done)

emulator: skin_winsys_get_monitor_rect: Linux: DefaultScreenOfDisplay(s_display)

emulator: skin_winsys_get_monitor_rect: Linux: DefaultScreenOfDisplay(s_display) (done)

emulator: skin_winsys_get_monitor_rect: (0,0) 1366x768 emulator: Qt lib path: /home/sandbox/tools/android-sdk/emulator/lib64/qt/lib

emulator: Qt plugin path: /home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-aarch64" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-aarch64'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-aarch64-headless" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-aarch64-headless'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-armel" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-armel'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-armel-headless" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-armel-headless'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-i386" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-i386'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-i386-headless" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-i386-headless'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64-headless" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64-headless'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/platforms" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/platforms/libqxcb.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("xcb") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/platforms" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/platforms/libqxcb.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "Xcursor" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-aarch64" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-aarch64'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-aarch64-headless" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-aarch64-headless'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-armel" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-armel'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-armel-headless" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-armel-headless'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-i386" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-i386'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-i386-headless" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-i386-headless'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64-headless" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: "Failed to extract plugin meta data from '/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64-headless'" not a plugin ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/platformthemes" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/platformthemes" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/platforminputcontexts" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("compose", "xim") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/platforminputcontexts" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/xcbglintegrations" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/xcbglintegrations" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/styles" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/styles" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/iconengines" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/iconengines/libqsvgicon.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("svg", "svgz", "svg.gz") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/iconengines" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/iconengines/libqsvgicon.so" ((null):0, (null))

emulator: setFrameAlways: kEventScreenChanged emulator: VERBOSE: AdbInterface.cpp:242: Found: 3 adb executables emulator: VERBOSE: AdbInterface.cpp:244: Adb: /home/sandbox/tools/android-sdk/platform-tools/adb emulator: VERBOSE: AdbInterface.cpp:244: Adb: /home/sandbox/tools/android-sdk/platform-tools/adb emulator: VERBOSE: AdbInterface.cpp:244: Adb: /home/sandbox/tools/android-sdk/platform-tools/adb emulator: VERBOSE: AdbInterface.cpp:263: Path:/home/sandbox/tools/android-sdk/platform-tools/adb protocol version: 41 emulator: VERBOSE: AdbInterface.cpp:263: Path:/home/sandbox/tools/android-sdk/platform-tools/adb protocol version: 41 emulator: VERBOSE: AdbInterface.cpp:263: Path:/home/sandbox/tools/android-sdk/platform-tools/adb protocol version: 41 emulator: skin_winsys_set_window_icon emulator: skin_winsys_get_preferred_gles_backend emulator: skin_winsys_get_preferred_gles_apilevel emulator: skin_winsys_get_preferred_gles_apilevel emulator: WARNING: Your AVD has been configured with an in-guest renderer, but the system image does not support guest rendering.Falling back to 'swiftshader_indirect' mode. emulator: GPU emulation enabled using 'swiftshader_indirect' mode emulator: Initializing hardware OpenGLES emulation support emulator: skin_winsys_get_monitor_rect: begin

emulator: skin_winsys_get_monitor_rect: get Qt window

emulator: skin_winsys_get_monitor_rect: get Qt window (done)

emulator: skin_winsys_get_monitor_rect: Begin calling platform specific display queries.

emulator: skin_winsys_get_monitor_rect: Linux: XOpenDisplay(NULL)

emulator: skin_winsys_get_monitor_rect: Linux: XOpenDisplay(NULL) (done)

emulator: skin_winsys_get_monitor_rect: Linux: DefaultScreenOfDisplay(s_display)

emulator: skin_winsys_get_monitor_rect: Linux: DefaultScreenOfDisplay(s_display) (done)

emulator: skin_winsys_get_monitor_rect: (0,0) 1366x768 emulator: VERBOSE: emulator-qt-window.cpp:2826: setUIMultiDisplay id 0 0 0 320 480 add emulator: screen_recorder_init(w=320, h=480, isGuestMode=0) emulator: Found 1 DNS servers: 192.168.32.2 Content of hardware configuration file: hw.cpu.arch = x86_64 hw.cpu.ncore = 2 hw.ramSize = 1536 hw.screen = multi-touch hw.mainKeys = true hw.trackBall = true hw.keyboard = false hw.keyboard.lid = false hw.keyboard.charmap = qwerty2 hw.dPad = true hw.rotaryInput = false hw.gsmModem = true hw.gps = true hw.battery = true hw.accelerometer = true hw.gyroscope = true hw.audioInput = true hw.audioOutput = true hw.sdCard = true disk.cachePartition = true disk.cachePartition.path = /home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/cache.img disk.cachePartition.size = 66m test.quitAfterBootTimeOut = -1 test.delayAdbTillBootComplete = 1 test.monitorAdb = 0 hw.lcd.width = 320 hw.lcd.height = 480 hw.lcd.depth = 16 hw.lcd.density = 160 hw.lcd.backlight = true hw.lcd.vsync = 60 hw.gltransport = pipe hw.gltransport.asg.writeBufferSize = 1048576 hw.gltransport.asg.writeStepSize = 4096 hw.gltransport.asg.dataRingSize = 32768 hw.gltransport.drawFlushInterval = 800 hw.displayRegion.0.1.xOffset = -1 hw.displayRegion.0.1.yOffset = -1 hw.displayRegion.0.1.width = 0 hw.displayRegion.0.1.height = 0 hw.fold.adjust = false hw.display1.width = 0 hw.display1.height = 0 hw.display1.density = 0 hw.display1.xOffset = -1 hw.display1.yOffset = -1 hw.display1.flag = 0 hw.display2.width = 0 hw.display2.height = 0 hw.display2.density = 0 hw.display2.xOffset = -1 hw.display2.yOffset = -1 hw.display2.flag = 0 hw.display3.width = 0 hw.display3.height = 0 hw.display3.density = 0 hw.display3.xOffset = -1 hw.display3.yOffset = -1 hw.display3.flag = 0 hw.gpu.enabled = true hw.gpu.mode = swiftshader_indirect hw.initialOrientation = portrait hw.camera.back = emulated hw.camera.front = none vm.heapSize = 384 hw.sensors.light = true hw.sensors.pressure = true hw.sensors.humidity = true hw.sensors.proximity = true hw.sensors.magnetic_field = true hw.sensors.magnetic_field_uncalibrated = true hw.sensors.gyroscope_uncalibrated = true hw.sensors.orientation = true hw.sensors.temperature = true hw.useext4 = true hw.arc = false hw.arc.autologin = false kernel.path = /home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//kernel-ranchu kernel.newDeviceNaming = yes kernel.supportsYaffs2 = no disk.ramdisk.path = /home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//ramdisk.img disk.systemPartition.initPath = /home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//system.img disk.systemPartition.size = 2641m disk.vendorPartition.initPath = /home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//vendor.img disk.vendorPartition.size = 800m disk.dataPartition.path = /home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/userdata-qemu.img disk.dataPartition.size = 6g disk.encryptionKeyPartition.path = /home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/encryptionkey.img PlayStore.enabled = false avd.name = android_emulator avd.id = android_emulator fastboot.forceColdBoot = false android.sdk.root = /home/sandbox/tools/android-sdk android.avd.home = /home/sandbox/tools/android-sdk/.android/avd . QEMU options list: emulator: argv[00] = "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64" emulator: argv[01] = "-dns-server" emulator: argv[02] = "192.168.32.2" emulator: argv[03] = "-no-audio" emulator: argv[04] = "-mem-path" emulator: argv[05] = "/home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/snapshots/default_boot/ram.img" emulator: argv[06] = "-mem-file-shared" emulator: argv[07] = "-serial" emulator: argv[08] = "stdio" emulator: argv[09] = "-device" emulator: argv[10] = "goldfish_pstore,addr=0xff018000,size=0x10000,file=/home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/data/misc/pstore/pstore.bin" emulator: argv[11] = "-cpu" emulator: argv[12] = "android64" emulator: argv[13] = "-smp" emulator: argv[14] = "cores=2" emulator: argv[15] = "-m" emulator: argv[16] = "1536" emulator: argv[17] = "-lcd-density" emulator: argv[18] = "160" emulator: argv[19] = "-object" emulator: argv[20] = "iothread,id=disk-iothread" emulator: argv[21] = "-nodefaults" emulator: argv[22] = "-kernel" emulator: argv[23] = "/home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//kernel-ranchu" emulator: argv[24] = "-initrd" emulator: argv[25] = "/home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//ramdisk.img" emulator: argv[26] = "-drive" emulator: argv[27] = "if=none,index=0,id=system,file=/home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//system.img,read-only" emulator: argv[28] = "-device" emulator: argv[29] = "virtio-blk-pci,drive=system,iothread=disk-iothread,modern-pio-notify" emulator: argv[30] = "-drive" emulator: argv[31] = "if=none,index=1,id=cache,file=/home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576" emulator: argv[32] = "-device" emulator: argv[33] = "virtio-blk-pci,drive=cache,iothread=disk-iothread,modern-pio-notify" emulator: argv[34] = "-drive" emulator: argv[35] = "if=none,index=2,id=userdata,file=/home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576" emulator: argv[36] = "-device" emulator: argv[37] = "virtio-blk-pci,drive=userdata,iothread=disk-iothread,modern-pio-notify" emulator: argv[38] = "-drive" emulator: argv[39] = "if=none,index=3,id=encrypt,file=/home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576" emulator: argv[40] = "-device" emulator: argv[41] = "virtio-blk-pci,drive=encrypt,iothread=disk-iothread,modern-pio-notify" emulator: argv[42] = "-drive" emulator: argv[43] = "if=none,index=4,id=vendor,file=/home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//vendor.img,read-only" emulator: argv[44] = "-device" emulator: argv[45] = "virtio-blk-pci,drive=vendor,iothread=disk-iothread,modern-pio-notify" emulator: argv[46] = "-netdev" emulator: argv[47] = "user,id=mynet" emulator: argv[48] = "-device" emulator: argv[49] = "virtio-net-pci,netdev=mynet" emulator: argv[50] = "-device" emulator: argv[51] = "virtio-rng-pci" emulator: argv[52] = "-show-cursor" emulator: argv[53] = "-L" emulator: argv[54] = "/home/sandbox/tools/android-sdk/emulator/lib/pc-bios" emulator: argv[55] = "-soundhw" emulator: argv[56] = "hda" emulator: argv[57] = "-vga" emulator: argv[58] = "none" emulator: argv[59] = "-append" emulator: argv[60] = "qemu=1 no_timer_check androidboot.hardware=ranchu androidboot.serialno=EMULATOR29X3X4X0 clocksource=pit no-kvmclock console=ttyS0,38400 android.qemud=1 android.checkjni=1 android.bootanim=0 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.encrypt=1 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=131072 cma=260M@0-4G qemu.wifi=1 mac80211_hwsim.channels=2 androidboot.android_dt_dir=/sys/bus/platform/devices/ANDR0001:00/properties/android/ skip_initramfs rootwait ro init=/init loop.max_part=7 dm="1 vroot none ro 1,0 5159992 verity 1 PARTUUID=AC78E0FB-6491-4B4F-BBFD-FECA2305938E PARTUUID=AC78E0FB-6491-4B4F-BBFD-FECA2305938E 4096 4096 644999 644999 sha1 31eb54bddc9b673976a7ca820ab263c421b8630b 5f81fddb8cc753b134fc2901766e57a49cfae566dba7ca48630fdddc30913f84 1 ignore_zero_blocks" androidboot.veritymode=enforcing androidboot.verifiedbootstate=orange root=/dev/dm-0 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 qemu.dalvik.vm.heapsize=384m" emulator: argv[61] = "-android-hw" emulator: argv[62] = "/home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/hardware-qemu.ini" Concatenated QEMU options: /home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64 -dns-server 192.168.32.2 -no-audio -mem-path /home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/snapshots/default_boot/ram.img -mem-file-shared -serial stdio -device goldfish_pstore,addr=0xff018000,size=0x10000,file=/home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/data/misc/pstore/pstore.bin -cpu android64 -smp cores=2 -m 1536 -lcd-density 160 -object iothread,id=disk-iothread -nodefaults -kernel /home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//kernel-ranchu -initrd /home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//ramdisk.img -drive if=none,index=0,id=system,file=/home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//system.img,read-only -device virtio-blk-pci,drive=system,iothread=disk-iothread,modern-pio-notify -drive if=none,index=1,id=cache,file=/home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=cache,iothread=disk-iothread,modern-pio-notify -drive if=none,index=2,id=userdata,file=/home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=userdata,iothread=disk-iothread,modern-pio-notify -drive if=none,index=3,id=encrypt,file=/home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=encrypt,iothread=disk-iothread,modern-pio-notify -drive if=none,index=4,id=vendor,file=/home/sandbox/tools/android-sdk/system-images/android-28/google_apis_playstore/x86_64//vendor.img,read-only -device virtio-blk-pci,drive=vendor,iothread=disk-iothread,modern-pio-notify -netdev user,id=mynet -device virtio-net-pci,netdev=mynet -device virtio-rng-pci -show-cursor -L /home/sandbox/tools/android-sdk/emulator/lib/pc-bios -soundhw hda -vga none -append 'qemu=1 no_timer_check androidboot.hardware=ranchu androidboot.serialno=EMULATOR29X3X4X0 clocksource=pit no-kvmclock console=ttyS0,38400 android.qemud=1 android.checkjni=1 android.bootanim=0 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.encrypt=1 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=131072 cma=260M@0-4G qemu.wifi=1 mac80211_hwsim.channels=2 androidboot.android_dt_dir=/sys/bus/platform/devices/ANDR0001:00/properties/android/ skip_initramfs rootwait ro init=/init loop.max_part=7 dm="1 vroot none ro 1,0 5159992 verity 1 PARTUUID=AC78E0FB-6491-4B4F-BBFD-FECA2305938E PARTUUID=AC78E0FB-6491-4B4F-BBFD-FECA2305938E 4096 4096 644999 644999 sha1 31eb54bddc9b673976a7ca820ab263c421b8630b 5f81fddb8cc753b134fc2901766e57a49cfae566dba7ca48630fdddc30913f84 1 ignore_zero_blocks" androidboot.veritymode=enforcing androidboot.verifiedbootstate=orange root=/dev/dm-0 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 qemu.dalvik.vm.heapsize=384m' -android-hw /home/sandbox/tools/android-sdk/.android/avd/android_emulator.avd/hardware-qemu.ini emulator: skin_spawn_thread emulator: Starting QT main loop

emulator: Android qemu version 29.3.4.0 (build_id 6110076) (CL:N/A)

emulator: Starting QEMU main loop emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqgif.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("gif") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqicns.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("icns") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqico.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("ico", "cur") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqjpeg.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("jpg", "jpeg") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqsvg.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("svg", "svgz") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqtga.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("tga") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqtiff.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("tiff", "tif") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqwbmp.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("wbmp") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() looking at "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqwebp.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: Got keys from plugin meta data ("webp") ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/imageformats" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqgif.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqicns.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqico.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqjpeg.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqsvg.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqtga.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqtiff.so" ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqwbmp.so" ((null):0, (null))

emulator: android_qemud_init emulator: INFO: QtLogger.cpp:68: Debug: loaded library "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/imageformats/libqwebp.so" ((null):0, (null))

emulator: Registered QEMUD service hw-control emulator: android_hw_control_init: hw-control qemud handler initialized emulator: Adding boot property: 'ro.opengles.version' = '131072' emulator: Registered QEMUD service camera emulator: Adding boot property: 'qemu.sf.fake_camera' = 'back' emulator: android_camera_service_init: Registered 'camera' qemud service emulator: Adding boot property: 'qemu.adb.secure' = '1' emulator: Adding boot property: 'dalvik.vm.heapsize' = '384m' emulator: Adding boot property: 'qemu.hw.mainkeys' = '1' emulator: Registered QEMUD service gsm emulator: Registered QEMUD service gps emulator: Adding boot property: 'qemu.sf.lcd_density' = '160' emulator: goldfish_events.have-dpad: true emulator: goldfish_events.have-trackball: true emulator: goldfish_events.have-camera: true emulator: goldfish_events.have-keyboard: false emulator: goldfish_events.have-lidswitch: false emulator: goldfish_events.have-tabletmode: false emulator: goldfish_events.have-touch: false emulator: goldfish_events.have-multitouch: true emulator: control console listening on port 5554, ADB on port 5555 Using config file: /home/sandbox/tools/android-sdk/.android/modem-nv-ram-5554 Setting value of oper_name_index to 2 (2)Setting value of selection_mode to 0 (0)Setting value of oper_index to 0 (0)Setting value of oper_count to 2 (2)Setting value of in_ecbm to 0 (0)Setting value of prl_version to 0 (0)Setting value of preferred_mode to 15 (15)Setting value of cdma_subscription_source to 1 (1)Setting value of cdma_roaming_pref to 2 (2)Not using any http proxy emulator: Registered QEMUD service sensors emulator: android_hw_sensors_init: sensors qemud service initialized get_zoneinfo_timezone: found timezone dir as /usr/share/zoneinfo get_zoneinfo_timezone: found localtime file as /etc/localtime get_zoneinfo_timezone: found zoneinfo timezone Etc/UTC from /etc/localtime symlink found timezone Etc/UTC emulator: Adding boot property: 'qemu.timezone' = 'Etc/UTC' emulator: Registered QEMUD service fingerprintlisten emulator: android_hw_fingerprint_init: fingerprint qemud listen service initialized

emulator: emulator_window_fb_rotate

emulator: Using EmuGL sub-window for GPU display emulator: skin_winsys_get_monitor_rect: begin

emulator: skin_winsys_get_monitor_rect: get Qt window

emulator: skin_winsys_get_monitor_rect: get Qt window (done)

emulator: skin_winsys_get_monitor_rect: Begin calling platform specific display queries.

emulator: skin_winsys_get_monitor_rect: Linux: XOpenDisplay(NULL)

emulator: skin_winsys_get_monitor_rect: Linux: XOpenDisplay(NULL) (done)

emulator: skin_winsys_get_monitor_rect: Linux: DefaultScreenOfDisplay(s_display)

emulator: skin_winsys_get_monitor_rect: Linux: DefaultScreenOfDisplay(s_display) (done)

emulator: skin_winsys_get_monitor_rect: (0,0) 1366x768 emulator: skin_surface_create bitmap(320x480) w 320 h 480 id 0

emulator: skin_surface_resize w 320 h 480 original_w 320 original_h 480

emulator: skin_surface_create bitmap(320x480) w 320 h 480 id 1

emulator: skin_surface_fill 1: 0, 0, 320, 480: ff808080 emulator: skin_surface_create_window 100, 100, 320, 480 emulator: ID of backing bitmap surface is 1 emulator: skin_surface_get_scaled_rect 1: 0, 0, 320, 480 => 0, 0, 320, 480 emulator: skin_winsys_run_ui_update emulator: skin_surface_fill 1: 0, 0, 320, 480: ff808080 Setting device orientation 0 emulator: skin_winsys_set_window_pos 100, 100 emulator: skin_winsys_run_ui_update emulator: skin_winsys_run_ui_update emulator: skin_surface_create bitmap(68x68) w 68 h 68 id 2

emulator: skin_surface_fill 1: 0, 0, 320, 480: ff808080 emulator: skin_winsys_set_window_title [Android Emulator - android_emulator:5554] setCoarseOrientation - HwSensors 0x33f9220 Setting coarse orientation to portrait emulator: INFO: AutomationEventSink.cpp:100: physical_model { type: ROTATION current_value { data: [-4.75, 0, 0] } } _amodem_switch_technology: oldtech: 0, newtech 1, preferred: 15. newpreferred: 15 emulator: (metrics::NullMetricsWriter) created emulator: (metrics::NullMetricsReporter) created emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/lib64/qt/plugins/accessible" ... ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Debug: QFactoryLoader::QFactoryLoader() checking directory path "/home/sandbox/tools/android-sdk/emulator/qemu/linux-x86_64/accessible" ... ((null):0, (null))

emulator: maskWindowFrame: kEventScreenChanged emulator: skin_winsys_get_window_handle emulator: Effective win ID is 1000005 emulator: skin_winsys_get_window_handle: result = 0x0x1000005 emulator: skin_winsys_is_window_fully_visible emulator: skin_winsys_is_window_fully_visible: result = true emulator: skin_winsys_get_window_handle emulator: Effective win ID is 1000005 emulator: skin_winsys_get_window_handle: result = 0x0x1000005 emulator: sending '$GPGGA,174618,3725.3199,N,12205.0400,W,1,6,,5.0,M,0.,M,,,47' emulator: sending '$GPRMC,174618,A,3725.3199,N,12205.0400,W,0.00,0.00,080120,0.0,W47' emulator: android_http_proxy_set add proxy

emulator: parsePostersFile: Loaded poster wall at (-0.807000, 0.320000, 5.316000) emulator: parsePostersFile: Loaded poster table at (-2.205000, -0.077000, 3.949000) emulator: skin_winsys_set_window_title [Android Emulator - android_emulator:5554] emulator: VERBOSE: winsys-qt.cpp:919: config multidisplay with config.ini 0x0 0x0 0x0 emulator: No acpi ini file provided, using default

emulator: (metrics::reportConditional) ignoring emulator: (metrics::reportConditional) ignoring emulator: EVENT: kEventScreenChanged

emulator: skin_winsys_run_ui_update emulator: EVENT: kEventSetMultiDisplay 0 (0, 0) 320 x 480 add

emulator: EVENT: kEventWindowMoved x=0 y=0

emulator: EVENT: kEventWindowMoved x=100 y=100

emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 35 emulator: skin_winsys_get_window_handle emulator: Effective win ID is 1000005 emulator: skin_winsys_get_window_handle: result = 0x0x1000005 Segmentation fault (core dumped)

vgaidarji commented 4 years ago

@741g @pokowaka hey. Do you have any updates on the issues described in this thread? I'm still struggling to find a working emulator configuration for docker ubuntu image and facing same errors as described above. Thank you.

eighthave commented 3 years ago

Since there seems to be related progress, I did a quick test of -no-accel. Unfortunately, it seems it is still just an early core dump:

root@6317bb8513ba:/builds/eighthave/fdroidclient# avd_name=Pixel2
root@6317bb8513ba:/builds/eighthave/fdroidclient# emulator -avd $avd_name  -no-accel
emulator: Android emulator version 30.3.5.0 (build_id 7033400) (CL:N/A)
handleCpuAcceleration: feature check for hvf
emulator: WARNING: x86_64 emulation may not work without hardware acceleration!
emulator: INFO: QtLogger.cpp:68: Warning: could not connect to display  ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Info: Could not load the Qt platform plugin "xcb" in "/android/sdk/emulator/lib64/qt/plugins" even though it was found. ((null):0, (null))

Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.
 ((null):0, (null))
emulator: INFO: QtLogger.cpp:68: Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.
 ((null):0, (null))

Aborted (core dumped)
root@6317bb8513ba:/builds/eighthave/fdroidclient# emulator -avd $avd_name  -no-accel
emulator: Android emulator version 30.4.4.0 (build_id 7117093) (CL:N/A)
handleCpuAcceleration: feature check for hvf
emulator: WARNING: x86_64 emulation may not work without hardware acceleration!
emulator: INFO: QtLogger.cpp:68: Warning: could not connect to display  ((null):0, (null))

emulator: INFO: QtLogger.cpp:68: Info: Could not load the Qt platform plugin "xcb" in "/android/sdk/emulator/lib64/qt/plugins" even though it was found. ((null):0, (null))

Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.
 ((null):0, (null))
emulator: INFO: QtLogger.cpp:68: Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.
 ((null):0, (null))

Aborted (core dumped)
root@6317bb8513ba:/builds/eighthave/fdroidclient# 
eighthave commented 3 years ago

Actually, adding -no-window seems to have fixed the core dump, but I'm still waiting for the emulator to actually boot:

root@6317bb8513ba:/builds/eightahve/fdroidclient# emulator -avd $avd_name  -no-accel -no-window
emulator: Android emulator version 30.4.4.0 (build_id 7117093) (CL:N/A)
handleCpuAcceleration: feature check for hvf
emulator: WARNING: x86_64 emulation may not work without hardware acceleration!
emulator: feeding guest with passive gps data, in headless mode
cannot add library /android/sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
added library /android/sdk/emulator/lib64/vulkan/libvulkan.so
cannot add library /android/sdk/emulator/lib64/vulkan/libvulkan.so.1: full
TCG doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]
TCG doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]
TCG doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]
TCG doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]
pc_memory_init: above 4g size: 40000000
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
emulator: INFO: GrpcServices.cpp:301: Started GRPC server at 127.0.0.1:8556, security: Local
WARNING. Using fallback path for the emulator registration directory.
eighthave commented 3 years ago

Made some progress. I can get the x86* system image booting without KVM, e.g. with -no-accel, then our test suite passes like 25% of the time, otherwise there is a crash. Here is a job where I ran with every possible x86/x86_64 system-image: https://gitlab.com/eighthave/fdroidclient/-/pipelines/258788881

vaclavbenes commented 3 years ago

is there any update? I d like to use -gpu and -no-accel it seems like working only on specific devices.

benjdero commented 3 years ago

@eighthave How did you managed to make this work?

I'm trying the exact same config as you do but I can't make it run. I've tried different Android SDK version, x86 or ARM, a mix of the different parameter given to emulator, nothing seems to work so far.

I always get this error:

emulator: ERROR: Could not load OpenGLES emulation library [libOpenglRender]: libGL.so.1: cannot open shared object file: No such file or directory emulator: ERROR: Retrying in program directory/lib64... emulator: ERROR: Could not load OpenGLES emulation library [/builds/crisalidlab/poc-android-toto/android-sdk-root/emulator/qemu/linux-x86_64/lib64/libOpenglRender]: libGL.so.1: cannot open shared object file: No such file or directory (2nd try)

Last config I tried:

  - echo "no" | avdmanager create avd -n genericdevice -k "system-images;android-27;default;x86_64" --device "Nexus 5"
  - emulator -avd genericdevice -noaudio -no-boot-anim -no-window -gpu swiftshader_indirect -no-accel &
eighthave commented 3 years ago

One key thing is sticking with a specific, proven version of the emulator. It has been broken and fixed and broken and fixed over the years.

benjdero commented 3 years ago

I checked your pipeline that successfully run so I tried with the same config : system image "system-images;android-22;default;x86" and emulator 30.3.5.0 download manually from http://dl.google.com/android/repository/emulator-linux-7033400.zip

But so far no luck.

benjdero commented 3 years ago

Ok, turn out I was missing the dependency libgl1-mesa-glx in my docker image.

0929Nasri commented 2 years ago

Why there's no support