Sei sulla pagina 1di 11

8/11/2016

HowtoinstallGooglePlayServicesonGenymotionStepbyStep::TheCheeseFactory

How to install Google Play Services on


Genymotion Step by Step
Posted on 12 Apr 2015 18:37 | 280339 reads | 0 shares

(/blog/how-to-install-google-services-on-genymotion/en)
(/blog/how-to-install-google-services-on-genymotion/th)

Due to Genymotion's uidness and ease of use, it now becomes the most
popular android emulator allowsandroid developers to test their app
directly on their computer.
However, it still lacks of Google Services just like Google Play Store, Google
Maps, etc. on Genymotion emulator whichmakes us developer not be able
to test those functionalities that use Google Services for example GCM Push
Notications or Google Maps.
Anyway it is not a problem anymore since there is some simple steps to do
to make Google Services be avaiable on Genymotion with some help from
CyanogenMod's gapps.
Step 1: InstallARM Translation - The secret behind Genymotion's
uidness is its ROM is compiled to x86 to match the most popular
computer's CPU Architecture. But CyanogenMod's gapps is compiled in
https://inthecheesefactory.com/blog/howtoinstallgoogleservicesongenymotion/en

1/11

8/11/2016

HowtoinstallGooglePlayServicesonGenymotionStepbyStep::TheCheeseFactory

ARM. That's the reason why we can't just simply install gapps on
Genymotion. To make it works, we need to install an ARM Translation
which will let those ARM apps be able to run on this x86 virtual device.
To install, downloadGenymotion-ARM-Translation_v1.1zip
(http://letrip.net/dl?4SUOrdcMRv)and then drop&drop the downloaded
le to an opened Genymotion virtual device. After le transfering is done,
there will be a conrmation dialog like below. Just simple click OK to ash it
on virtual device.

There will be an another dialog to let you know that theashing process is
done.

https://inthecheesefactory.com/blog/howtoinstallgoogleservicesongenymotion/en

2/11

8/11/2016

HowtoinstallGooglePlayServicesonGenymotionStepbyStep::TheCheeseFactory

You need to reboot the virtual device now but we don't suggest to just close
the virtual device and relaunchit once again since it may leads to some
weird behaviour. To make it done completely nd, you need to reboot the
device through command line like this:

adbreboot

In case you accidentally close the virtual device, don't be panic. You might
need to relaunch for a few times before it canboot up.
Step 2: Install gapps - Before we go on to the next step, you need to
download the ashable zip of gapps by your virtual device's Android
version:

https://inthecheesefactory.com/blog/howtoinstallgoogleservicesongenymotion/en

3/11

8/11/2016

HowtoinstallGooglePlayServicesonGenymotionStepbyStep::TheCheeseFactory

Android 5.0.x (https://www.androidlehost.com/?d=95784891001614559),


Android 4.4.x (https://www.androidlehost.com/?d=95832962473395379),
Android 4.3.x (https://www.androidlehost.com/?d=23060877490000124),
Android 4.2.x (https://www.androidlehost.com/?d=23060877490000128),
Android 4.1.x (https://www.androidlehost.com/?d=22979706399755082),
Android 4.0.x (https://www.androidlehost.com/?d=22979706399755108),
Android 2.3.3 (https://www.androidlehost.com/?d=22979706399755027)
And then drop&drop the downloaded le to a virtual device like previous
and go through the ashing process.

Reboot the virtual device once again.

adbreboot

https://inthecheesefactory.com/blog/howtoinstallgoogleservicesongenymotion/en

4/11

8/11/2016

HowtoinstallGooglePlayServicesonGenymotionStepbyStep::TheCheeseFactory

After the virtual device is booted up, you will notice that Google Play
services has stoppedproblem will keep popping up like this:

Don't be surprised and don't panic. You did it all right. This error happens
because the installed gapps is justtoo old and didn't match the latest ROM
Genymotion provided. All you need to do is be patient and login to Google
Play Store and update all of installed app.

https://inthecheesefactory.com/blog/howtoinstallgoogleservicesongenymotion/en

5/11

8/11/2016

HowtoinstallGooglePlayServicesonGenymotionStepbyStep::TheCheeseFactory

And also don't forget to update Google Play Servicesas well. It should be
notied through thedevice's notication area after your pressed the Update
All button in Google Play Store.
Congratulations, Google Play Services are now available on your
Genymotion virtual device. A by-product of this installation is you are also
able to run the app compiled in ARM on Genymotion as well.

https://inthecheesefactory.com/blog/howtoinstallgoogleservicesongenymotion/en

6/11

8/11/2016

HowtoinstallGooglePlayServicesonGenymotionStepbyStep::TheCheeseFactory

Hope you nd this article helpful. =)


Source: XDA-Developers (http://forum.xdadevelopers.com/showthread.php?t=2528952), CyanogenMod
(http://wiki.cyanogenmod.org/w/Google_Apps)
Author: nuuneoi (Android GDE, CTO & CEO at The Cheese Factory)
A full-stack developer with more than 6 years experience on Android Application
Development and more than 12 years in Mobile Application Development industry. Also
has skill in Infrastucture, Service Side, Design, UI&UX, Hardware, Optimization, Cooking,
Photographing, Blogging, Training, Public Speaking and do love to share things to people in
the world!

Tweet

20

138Comments

https://inthecheesefactory.com/blog/howtoinstallgoogleservicesongenymotion/en

Sortby Oldest

7/11

8/11/2016

HowtoinstallGooglePlayServicesonGenymotionStepbyStep::TheCheeseFactory

138Comments

Sortby Oldest

Addacomment...

JanwistAkademiaMuzycznaim.KarolaLipiskiegoweWrocawiu
Ifsomeonegetintotroublewiththatthereisaredditpostondoingitthroughadbshell:
http://www.reddit.com/.../guide_using_genymotion_the.../
Also,ifYoufindYourselfhavingtroublewiththissearchinmentionedpostfor"Failedto
flashfile".
LikeReply

4May10,20151:14pm

VedantNaik
Pleasehelpme.IhaveaGooglenexuspreview6P.6.0.0.....Wheneveritryto
flashmy6.0.0gappsflashfileitshows'filetransferinprogress'.Thenitasksthat
'gappsfile6.0.0isflashable.douwanttoflashit?'theniclickok.thenitloadsand
aftersometimeigetanerror:runningexecutionhaschangedtoPaused'.Please
helpme.Ihavenotwrotealltheerrorswordtowordbutpleasehelpme
LikeReplyDec29,201511:54pm

MahmoudAliLAU
VedantNaikyouneedtousegooglenexus5.0.1or5.0.0sincenonofthegapps
filesarecompitablewith6.0.0
LikeReplyApr5,20163:36am

LindaBelcher
MahmoudAliisthereanychancetherewillbegappsfilescompatiablewith
android6.0orhigher?
LikeReplyApr26,20161:29pm
Show3morerepliesinthisthread

AdiAryan
Thankyouverymuch.Itworkedperfectly.
LikeReply

1May16,20152:04am

JulioRolandoChalcoUniversidadLoyoladeBolivia
yourlinksdonotwork
LikeReply

3May28,20159:52am

GuyCohenSmallForwardatBasketball
Newbiequestion,whereshoulditype"adbreboot",Iknowit'sshouldbeintheterminal,
butwhere?
LikeReply

2May29,20153:00am

JamesKnoesenConsejodeadministracinatJKTAConsultingLimited
it'sinthe"genymotion\tools"folder.Thisshouldbeexplainedinthearticleand
I'mnotsurewhyithasn'tbeen.
https://inthecheesefactory.com/blog/howtoinstallgoogleservicesongenymotion/en

8/11

8/11/2016

HowtoinstallGooglePlayServicesonGenymotionStepbyStep::TheCheeseFactory

I'mnotsurewhyithasn'tbeen.
Alsoyoumayneedtodomorethanjustrun"adbreboot"becauseitwillthrowan
errorifyouhavemorethan1device.Ifyouhavemorethan1device,run"adb
devices",whichwillgiveyoualistofdevices.Thentorebootthespecificdevice,
type"adbs<deviceip>:<deviceport>reboot"e.g."adbs
100.100.100.100:5555reboot"
Hopethishelps!!
LikeReply

18May31,20156:05amEdited

JamesKnoesenConsejodeadministracinatJKTAConsultingLimited
Alsoifyou'renotsurewhichIPthedeviceison,openGenymotionShellandtype
"devicesshow"anditwilltellyou,butitwon'tgiveyoutheportnumberandthisis
whyyouneedtoalsorun"adbdevices"
LikeReply

3May31,20156:08am

ArjunDamoder
JamesKnoesenhello,whatis<deviceport>...
LikeReplyJul13,20167:44am
Show3morerepliesinthisthread

LewisAdelaidePerth
thelinksforandroid4.2and4.3arebroken...cananyoneupdatethat
LikeReply

1Jun16,201511:24pm

SittipholPhanvilaiCEO&FounderatTheCheeseFactory

Related

Understand Android Activity's launchMode: standard,


singleTop, singleTask and singleInstance
(/blog/understand-android-activity-launchmode/en)
Posted on 15 Apr 2015 17:01

https://inthecheesefactory.com/blog/howtoinstallgoogleservicesongenymotion/en

9/11

8/11/2016

HowtoinstallGooglePlayServicesonGenymotionStepbyStep::TheCheeseFactory

Correct the ImageView's adjustViewBounds behaviour


on API Level 17 and below with AdjustableImageView
(/blog/correct-imageview-adjustviewbounds-with-adjustableimageview/en)
Posted on 14 Mar 2015 03:10

(https://twitter.com/thecheesefact)

(https://facebook.com/inthecheesefactory)

(/blog/en/rss.xml)

Copyright The Cheese Factory Co.,Ltd. 2015

https://inthecheesefactory.com/blog/howtoinstallgoogleservicesongenymotion/en

10/11

8/11/2016

HowtoinstallGooglePlayServicesonGenymotionStepbyStep::TheCheeseFactory

https://inthecheesefactory.com/blog/howtoinstallgoogleservicesongenymotion/en

11/11

Potrebbero piacerti anche