在Ubuntu 15.04上安装Genymotion 2.6.0

Kar*_*ett 2 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
Run Code Online (Sandbox Code Playgroud)

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

命令输出:

genymotion
Logging activities to file: ~/.Genymobile/genymotion.log
Aborted (core dumped)
Run Code Online (Sandbox Code Playgroud)

日志输出:

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.
Run Code Online (Sandbox Code Playgroud)

Kar*_*ett 5

所以在搜索之后我发现日志条目可能是由于缺少QT xcb插件所需的库.

所以我跑到lddlibqxcb.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
Run Code Online (Sandbox Code Playgroud)

因此,有许多与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
Run Code Online (Sandbox Code Playgroud)