Sold out! Xamarin Evolve Sells Out for the Third Time We all knew this was going to happen and now it has. Introducing Xamarin Workbooks Craig Dunn wants you to give Xamarin Workbooks a try. Podcast Interviews with Dan Hermes: Microsoft, Xamarin.Forms, His Music and His Tiki Drinks Dan Hermes is on “Yet Another Podcast” […]
We’re thrilled to announce that Xamarin Evolve 2016 is officially sold out! This year’s conference is set to be the best Evolve ever, with exciting speakers including Steve Wozniak, Grant Imahara, Charles Petzold, and other industry leaders, as well as great mobile development training, 50+ technical sessions, hacking in the Darwin Lounge, and an attendee-only […]
The post Sold out! Xamarin Evolve Sells Out for the Third Time appeared first on Xamarin Blog.
Microsoft have been so kind to provide the Visual Studio Android Emulator which uses Hyper-V as hypervisor and does not require you to reboot your machine every time you want to switch between using Hyper-V and another hypervisor. Great!
There is one caveat. None of the images included in the Visual Studio Android Emulator tools have Google Play Services installed. Hence, you have to install them yourself. It turned out to be more complicated than I thought it would. Hence, I am documenting it in this blog post.
At first I tried the tried and great OpenGapps, which a lot of custom roms for Android devices recommend using. Picked x86 and the pico package for Android M and tried to install that on a Marshmallow image. It just threw an error telling me that the system/ folder was missing in the zip. Great, what then? I tried adding that folder with an empty file manually to the zip, as it seems it doesn’t care whether the zip is signed or not when installing. This made the zip install. Well not really, no Play Store or Play Services where actually installed.
I tried some other GAPPS zips from various sources, none of them seemed to work. I searched around without finding any solution.
Alexandre Chohfi over at the Xamarin Community Slack pointed out that he had the same issues with Genymotion, which runs on VirtualBox and pointed me in the direction of this gist explaining how to do it on Genymotion. Following the instructions from arcao in the comments works! Without installing that Genymotion ARM translation package too.
Steps I used
1. Install a Marshmallow image in the Visual Studio Emulator for Android tools (can be opened through Tools > Visual Studio Emulator for Android in Visual Studio)
2. Download gapps-L-4-21-15.zip
3. Download benzo-gapps-M-20151011-signed-chroma-r3.zip