Getting Google Play on Genymotion
22 Apr 2015I’ve got a project in the works that requires running an Android app – Final Fantasy Record Keeper (FFRK) – on my computer. BlueStacks lets you install apps from the Play Store easily but BlueStacks also kind of sucks – especially the Mac (beta) version.
Genymotion has been a reliable and flexible Android emulator, but unfortunately it does not come with Google Play services out of the box, so installing applications from the Play Store is not possible. But with a little bit of work, you can power up your Genymotion emulator! These steps are largely adapted from these instructions posted on the XDA-Developers, and feature some additional information regarding steps that tripped me up.
-
Set up the Android Debug Bridge (adb). It comes bundled with the Android SDK. Google it if you don’t have it set up yet.
-
Download and install Genymotion and VirtualBox. Genymotion requires VirtualBox to work.
-
Open Genymotion and add a new Android emulator. Originally I went with the Google Nexus 7 - 4.4.4, but that ended up causing FFRK to crash immediately on launch. The Google Nexus 7 2013 - 4.3 worked for me so use that one.
-
Download the ARM Translation Installer (9.4 MB) and Google Apps for Android 4.3 (91.7 MB). Both can be downloaded from this helpful XDA-Developer post. It is very important that you do NOT unzip the ARM Translation zip file. If you do, it’ll overwrite itself and make itself unusable in the next step. If your browser is set to automatically launch files, disable that behavior.
-
Launch the Genymotion virtual machine (VM) and drag the ARM Translation Zip file onto the VM. The file will transfer and then you will be asked if you want to flash the VM. Agree, wait a bit, and then reboot the VM using adb reboot. The adb command can take a little while to run so give it some time. If you don’t get asked to flash the VM, you probably unzipped the ARM Translation zip file. Go back to step 4.
Now there are two ways to install FFRK. You can download the APK from an external source and install it via adb (less steps, faster) OR you can install Google Play services on your VM and then install FFRK via the Play Store (more steps, but useful if you’re using a Google account to transfer game data from another device).
Direct Installation
-
Download the FFRK APK from a site like APK Downloader. The package name for FFRK is com.dena.west.FFRK.
-
Install the APK via adb: adb install com.dena.west.FFRK.apk. Note that if you had done this before flashing your VM with the ARM Translator, you’d get the INSTALL_FAILED_CPU_ABI_INCOMPATIBLE error. This, time it should install just fine.
Install via Google Play Store
-
Drag the Google Apps file onto the VM. The file transfers, and then you agree to the disclaimer, wait, and reboot via adb.
-
Once rebooted, you’ll likely see Google Play Services crashing repeatedly. Don’t worry. Just make your way to the Play Store and log into a Google account. Theoretically, you would then see a list of apps and services that could be updated, but I saw nothing so I just waited a bit (assuming things were upgrading in the background without my knowledge) and then rebooted the VM. After a few reboots, the Play Store updated and the Play Services crashes went away.
-
Search for Final Fantasy Record Keeper and hit the INSTALL button.
Post-Installation Optimization
-
FFRK should now launch and run, but it might be a bit laggy. To try to help reduce this, I quit the VM and reduced the resolution of the machine from 1200 x 1920 (320 DPI) to 600 x 960 (160 DPI).
-
The redditor lilmacaco (little monkey in Portuguese!) found that turning down animation scales improved performance as well. Follow the aforementioned link for instructions on turning on Developer Options and then turning down animation scales. He recommends turning them down to .5, but I just turned mine off completely.
Please let me know via Twitter or reddit if you have any more optimizations or find steps that could use more clarification. Happy FFRKing on Genymotion!