How to install Genymotion emulator on Fedora

Android Studio has amazing emulators

Android Studio is the official IDE for Android app development, based on IntelliJ IDEA. On top of IntelliJ’s powerful code editor and developer tools, Android Studio offers even more features that enhance your productivity when building Android apps and works like a charm on Fedora systems.

Android Studio has also amazing powerful emulators to test apps on desktop environment, but there is big issue with VirtualBox. You cannot launch both VirtualBox virtual machine and HAXM at the same time, so you can’t use emulators if you have a virtual machine opened.

You can download Android Studio and VirtualBox to try some test, but the official bug is reported here.

The answer is Genymotion

Genymotion is an Android emulator based on Virtualbox, but it also doesn’t require you to install Virtualbox as it is bundled with the installer. It can emulate specific devices and allows you to install/run/test apps on it, which makes it great for you to use to easily showcase apps on my PC, project them on a wide screen, make perfect screencasts at full speed to show the best of them. Genymotion is a really very fast Android emulator and since Virtualbox is cross-platform compatible, Genymotion will work in Windows, Mac and Linux too.

Genymotion download

Genymotion is free for personal use, so you can download it from the official site and start playing with it. First of all, for Fedora users, on the site there are no RPM download provided, no repositories, nothing for Fedora based distro. Fortunately, the file available on the site are generic .bin and not debian-based.

How to install it on Fedora

To get started, you must go to Genymotion website and register a user account. You will be able to download the files after the registration process.

Go to Genymotion register page, fill all the fields with your personal information and sign up. After that, you will receive a validation e-mail, so click on the validation link to finish the registration process. If you have completed that, you’re able to sign-in in the Genymotion website, to go to the download page and to download the appropriate file for your architecture. It’s a generic Linux .bin file, so you can use it also on Fedora systems, but choose the right one(32 or 64 bit).

Genymotion launch

After, we need some tweaks(maybe not necessary for your system).
Install Virtualization Group, VirtualBox and dependencies:

  sudo dnf groupinstall "Virtualization"
  sudo dnf install VirtualBox kernel-devel gstreamer-plugins-base libpng12

Genymotion needs libjpeg8 and libdouble-conversion. You can catch them on RPMPbone and RPMFind.

Genymotion emulator

Now, we can install properly Genymotion:

cd /home/user/Downloads
sudo mv genymotion-2.8.0-ubuntu16_x64.bin /opt ;#assuming it's genymotion-2.8.0-ubuntu16_x64.bin
cd /opt
sudo chmod +x genymotion-2.8.0-ubuntu16_x64.bin ;#make the bin executable
sudo ./genymotion-2.8.0-ubuntu16_x64.bin ;#install for all users - without 'sudo' install only for current user

And finally, you can start GenyMotion and play with it:

cd genymobile/genymotion/
./genymotion

You can also make a .desktop file to launch it with the icon.

Leave a Reply

Your email address will not be published.