• onetab list: “qt plugin problem android emulator”

log

root@storage:~/data/user_share/users/seb/building/emulator# ./bound-emulator
INFO    | Storing crashdata in: /tmp/android-root/emu-crash-35.1.2.db, detection is enabled for process: 2878074
INFO    | Android emulator version 35.1.2.0 (build_id 11616444) (CL:N/A)
INFO    | Found systemPath /nix/store/ryayrgg2498sdcan9h9s02gm766hm8gd-fake-sdk/system-images/android/x86/
INFO    | Storing crashdata in: /tmp/android-root/emu-crash-35.1.2.db, detection is enabled for process: 2878074
INFO    | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
WARNING | Failed to process .ini file /root/data/user_share/users/seb/building/emulator/avd/Pixel2.avd/quickbootChoice.ini for reading.
INFO    | Warning: could not connect to display  ((null):0, (null))
INFO    | Warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. ((null):0, (null))
INFO    | Info: Could not load the Qt platform plugin "xcb" in "/nix/store/6pfbplxzhp64w4rjq9ik1l9lxs863a97-emulator-35.1.2/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: vnc, xcb, minimal, offscreen, linuxfb.
 ((null):0, (null))
INFO    | 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: vnc, xcb, minimal, offscreen, linuxfb.
 ((null):0, (null))
[2878368:2878368:20240504,170001.073626:ERROR elf_dynamic_array_reader.h:64] tag not found
[2878368:2878368:20240504,170001.075818:ERROR process_memory_range.cc:75] read out of range
[2878368:2878368:20240504,170001.075865:ERROR process_memory_range.cc:75] read out of range
[2878368:2878368:20240504,170001.076250:ERROR process_memory_range.cc:75] read out of range
[2878368:2878368:20240504,170001.081505:ERROR process_memory_range.cc:75] read out of range
[2878368:2878368:20240504,170001.081549:ERROR process_memory_range.cc:75] read out of range
./bound-emulator: line 14: 2878074 Aborted                 /nix/store/6pfbplxzhp64w4rjq9ik1l9lxs863a97-emulator-35.1.2/emulator @Pixel2 -gpu swiftshader_indirect $@

solution

  • it’s Qt (gui)‘s way of telling you, that there is no DISPLAY var set…
  • it can’t initialise the xcb platform plugin, because this plugin would connect to the xserver…