linux 尝试从Android_Emulator运行设备时出现问题

vshtjzan  于 2023-10-16  发布在  Linux
关注(0)|答案(1)|浏览(125)

当我运行:/home/Miguer/Android/Sdk/emulator/emulator @Device_Test时,输出是:

INFO    | Android emulator version 32.1.11.0 (build_id 9536276) (CL:N/A)
INFO    | Found systemPath /home/Miguer/Android/Sdk/system-images/android-33/google_apis_playstore/x86_64/
INFO    | Storing crashdata in: /tmp/android-Miguer/emu-crash.db, detection is enabled
INFO    | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.
WARNING | Failed to process .ini file /home/Miguer/.android/avd/Device_Test.avd/quickbootChoice.ini for reading.
INFO    | Warning: Could not find the Qt platform plugin "wayland" in "/home/Miguer/Android/Sdk/emulator/lib64/qt/plugins" ((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))
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: xcb.
 ((null):0, (null))
[70842:70842:20230610,165240.588572:ERROR elf_dynamic_array_reader.h:64] tag not found
[1]    70834 IOT instruction (core dumped)  /home/Miguer/Android/Sdk/emulator/emulator @Device_Test

我用的是韦兰/海普兰德。
我尝试安装qt 5-wayyland与sudo pacman -S qt5-wayland.重新安装android-studio和仍然有相同的错误.

2sbarzqh

2sbarzqh1#

即使有人删除了我的答案,我发现了这个问题的解决方案,我不知道如果你还没有找到解决方案。这是一个QT全局变量,它导致了我的问题,正如我在之前删除的帖子中提到的。如果它通知变量,尝试删除它们并重新启动hyprland,看看它是否工作。我不知道你的情况是否和我一样
我写了两个环境变量:
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland
您可以在desenv 07/home/.config/hypr-env/env.conf https://github.com/pedrohms/dotfiles上的我的存储库中看到我的配置

相关问题