在Ubuntu 15.04上安装Genymotion 2.6.0

时间:2016-01-09 00:44:53

标签: installation genymotion ubuntu-15.04

安装Ubuntu 15.04 Genymotion后,无法启动以下错误。

genymotion: error while loading shared libraries: libdouble-conversion.so.1: cannot open shared object file: No such file or directory

所以我安装了libdouble-conversion1,但仍然无法启动以下日志输出。

命令输出:

genymotion
Logging activities to file: ~/.Genymobile/genymotion.log
Aborted (core dumped)

日志输出:

Jan 9 13:40:10 [Genymotion] [Fatal] This application failed to start because it could not find or load the Qt platform plugin "xcb".

Available platform plugins are: xcb.

Reinstalling the application may fix this problem.

2 个答案:

答案 0 :(得分:5)

所以在搜索之后我发现日志条目可能是由QT xcb插件所需的库缺失引起的。

所以我针对ldd库运行了libqxcb.so

cd genymotion/platforms
ldd libqxcb.so | grep "not found"
    libxcb-render-util.so.0 => not found
    libxcb-image.so.0 => not found
    libxcb-icccm.so.4 => not found
    libxcb-randr.so.0 => not found
    libxcb-keysyms.so.1 => not found
    libxcb-xkb.so.1 => not found
    libxkbcommon-x11.so.0 => not found
    libQt5DBus.so.5 => not found
    libQt5Gui.so.5 => not found
    libQt5Core.so.5 => not found

因此,有许多与Genymotion假设安装的QT xcb插件相关的库。可以忽略libQt*个库,因为它们包含在Genymotion安装中。

安装这些库后,Genymotion开始很好。

sudo aptitude install libdouble-conversion1 libxcb-render-util0 libxcb-image0 libxcb-icccm4 libxcb-randr0 libxcb-keysyms1 libxcb-xkb1 libxkbcommon-x11-0

答案 1 :(得分:1)

同样的问题发生在我身上。我做了sudo apt-get install libdouble-conversion1v5。现在它完美了