[SOLVED] Mengatasi Error ‘Cannot mix incompatible Qt library’ pada Genymotion

Screenshot - 09012015 - 02:40:28 AM

Error yang tampil pada log adalah :

Sep 1 02:36:39 [Genymotion] [Warning] Genymotion Version: Genymotion 2.5.2 
Sep 1 02:36:39 [Genymotion] [Debug] [LaunchpadApp] Started with ("./genymotion") 
Sep 1 02:36:39 [Genymotion] [Debug] [doRequest] Requesting: "https://cloud.genymotion.com/launchpad/last_version/debian/x64/" 
Sep 1 02:36:39 [Genymotion] [Fatal] Cannot mix incompatible Qt library (version 0x40806) with this library (version 0x40802)
Sep 1 02:36:53 [Genymotion] [Debug] Proxy configuration: no proxy used 
Sep 1 02:36:53 [Genymotion] [Warning] **** STARTING GENYMOTION **** 
Sep 1 02:36:53 [Genymotion] [Warning] Genymotion Version: Genymotion 2.5.2 
Sep 1 02:36:53 [Genymotion] [Debug] [LaunchpadApp] Started with ("./genymotion") 
Sep 1 02:36:53 [Genymotion] [Debug] [doRequest] Requesting: "https://cloud.genymotion.com/launchpad/last_version/debian/x64/" 
Sep 1 02:36:53 [Genymotion] [Fatal] Cannot mix incompatible Qt library (version 0x40806) with this library (version 0x40802)

Solusi :

  1.  Install library
     $ sudo apt-get install libxi-dev libxmu-dev
  2.  Pindahkan (re-move) Qt libs ke folder/direktori genymotion
     $ mkdir QtLibs && mv *Qt*.so* QtLibs

Jika terjadi error seperti ini :

mv: cannot stat ‘*Qt*.so*’: No such file or directory

Silahkan lanjut jalankan genymotion, maka anda akan menemukan error lainnya jika beruntung :

$ ./genymotion
./genymotion: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory

3.  Cari file libs-nya lalu pindah manual ke direktori genymotion, atau install apt-file jika distro anda turunan debian/ubuntu
$ sudo apt-get install apt-file
$ apt-file update
$ apt-file find libQtWebKit.so.4
maka akan muncul query hasil pencarian tsb akan tampil seperti ini :

        libqtwebkit4: /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
        libqtwebkit4: /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4.10
        libqtwebkit4: /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4.10.4

4. Install library yang belum ada tsb lalu pindahkan ke folder/direktori genymotion
$ apt-get install libqtwebkit4 && mv /home/levay/indro/genymotion/QtLibs

5. Jalankan kembali genymotion
6. Done as you wish 🙂

TIPS
Jika menemukan error seperti ss di bawah ini :
Screenshot - 04132016 - 03:50:56 PM

Silahkan ikuti step berikut :

  • apt-get install libdouble-conversion1 libxcb-render-util0 libxcb-image0 libxcb-icccm4 libxcb-randr0 libxcb-keysyms1 libxcb-xkb1 libxkbcommon-x11-0
  • Hapus direktori genymotion, dan re-install genymotion
  • Done!

Semoga bermanfaat 🙂

#credit : http://ubuntuforums.org/showthread.php?t=2207219&p=13048000#post13048000

Advertisements