This question already has answers here:
How to install Google Play Services in a Genymotion VM (with no drag and drop support)?
(17 answers)
Closed 5 years ago.
How to install Google Play Services on 6.0 Genymotion device?
For other versions this answer works, but not for 6.0
EDIT:
I've tried to use 6.0 Gapps from this source, but all of them failed to flash the emulator.
Ivan,
I found the solution here and followed the steps from the user #sinistance and it worked for me using the Nexus 5X Preview API 23.
To simplify this is the answer:
what image did you use? i'm using the preview nexus 5x image. here is the steps:
flash Genymotion-ARM-Translation_v1.1.zip then restart.
flash gapps-L-4-21-15.zip.
sign in into your google account.
flash benzo-gapps-M-20151011-signed-chroma-r3.zip then restart.
that's all
You can find all the files in the link above!
I hope it works for you!
Regards
Since Genymotion 2.7.2 and above follow these steps.
https://www.genymotion.com/faq/#google-play-services
Visit opengapps.org
Select x86 as platform
Choose the Android version corresponding to your virtual device
Select nano as variant
Drag & Drop the zip installer in new Genymotion virtual device
Follow the pop-up instructions
On Samsung Galaxy S6 - 6.0.0 - 1440x2560:
Flash Genymotion-ARM-Translation_v1.1
Flash open_gapps-x86-6.0-pico-20160524.zip
Please give it a try.
If Google Play Services on Android 6.0 crash everytime, you can try do the same things in this sequence. Maybe it will work.
Here is what I did:
Install a latest Genymotion (version 2.6.0 in my case). Make sure
the previous old (preview) Android 6.0 images are removed(Genymotion
-> Settings -> Misc -> Clear cache).
Add a new virtualdevice, select Google Nexus 5X and Android 6.0
image. It should download a new image from Genymotion website.Start
created Google Nexus 5X - 6.0.0 - API 23 - 1080x1920 virtual device.
Flash Genymotion-ARM-Translation_v1.1.zip (drag&drop the zip file to
virtual device window) and then restart the virtual device.
Flash gapps-L-4-21-15.zip and restart the virtual device again. Now
add Google account in the virtual device via Settings -> Accounts ->
Add account. Do not start Google Play! Ignore any crashes in sign in
process.
Flash benzo-gapps-M-20151011-signed-chroma-r3.zip and restart the
virtual device. Open Google Play in virtual device,update all
installed applications.
Start Google Now with long touch on home button to force dialog with
request to update Google Play Services. Update Google Play Services.
Now the device is prepared with working Google Play and Google Play
Services.
Genymotion android 6.0 with Google play service
For me it worked just to install a package (in my case the full) for x86 and Android Version 6.0 from http://opengapps.org/ by dragging the downloaded zip-file to the machine. A restart was suggested and done
Maybe some Apps won't work but you don't have to do anything else.
I hope I could help you with that answer.
For enable Google play service in genymotion marshmallow version
Download and install Install ARM Translation from here : http://filetrip.net/dl?4SUOrdcMRv
After installation reboot your device (Just close and restart )
After restart Download the gapps/5.1/gapps-L-4-21-15.zip flash from :
http://mirror31.downloadandroidrom.com/download/gapps/5.1/gapps-L-4-21-15.zip?token=432826691
After installation . reboot the device and update yourgoogle play service and google.
For enable Google play service in genymotion, as per answer you mentioned in your question you need ARM and Gapps.
So, Download gapps for Android Marshmallow from here and follow this answer.
Related
I'm having ENOURMOUS issues with android studio. If it's not rendering issues it's the emulator. (btw Must I have internet connection to use that IDE ? Must I only use SDK setting of SDK actually installed on my machine))
My current problem is that I followed this hello world tutorial https://developer.android.com/training/basics/firstapp/index.html
Then this http://developer.android.com/tools/device.html
My cellphone is ALCATEL TOUCH M'POP 5020D. I want to use it to run my app. So I have enabled it's debugging mode. But Android studio is not detectitng it BUT the phone is in debugging mode. Please what should I do ? Even when I try using an emulator it does not work. (my minimum SDK for the project and emulator is API 19)
Both the emulator and the phone is not working
SDK Extras screenshotS
Try to install the MTK Driver (here is the download link)
And be sure that you enabled development settings and the usb debugging feature under Settings -> About Phone -> Advanced settings.
I am absolutly new in Android development (I am a Java EE developer) and this is the first time that I use Android Studio.
So I am finding some difficulties to run my HelloWorld application on my HTC One phone.
I have installed the driver of my phone on my Windows 8.1 system (it should be ok because I can correctly see my phone into the Windows Device Manager).
So I open my app into Android Studio and then click on the start button and then I can choose perform the application on my phone but then I obtain the following error message:
The selected device is incompatible
Here a screenshot of the problem:
Why? What is the problem? How is it possibile that my Htc One is incompatible with Android Studio? How can I fix this issue?
Another problem is that if I chose Launch Emulator instead my phisical phone I have not a virtual device. Is is something that have I to instal separatly or what?
Sometimes reasons may be your device is not recognized by Android Studio.
For this to happen do the following:
Settings -> Developer Options -> Revoke USB debugging authorizations.
Select OK and disconnect your phone. Reconnect it, run the app and you should get a popup on your phone asking for authorization with title "Allow this Device..." . Tick the checkbox for future prefrence. and Select Ok.
You have created the app with min SDK version 15 (as mentioned in the snapshot) but your device is working on a lower version of android. You can change the min SDK version from project properties or create a new application project with lower or equal version of android SDK than the android version installed on your device.
The version of SDK, you select, will work on any device having same or higher version of android OS installed.
Gingerbread (version 10) will work on ~90% of the devices.
It seems the minSdkVersion defined in the grade file of your project is higher than the api version of your phone. So you should change minSdkVersion.You can only start a virtual device, if you have previously downloaded a system image and configured the device with AVD Manager.
Anybody tell me how to install apps on emulator from google-play store
Simple Answer:
Just install first Google Play store in your emulator from ADB. and then using your gmail account you can install apps as like in your Android Phone.
OtherWise as #Williams said get apk source from anywhere and install using adb..
Link for setup Google Play service in your emulator
Check Set Up Google Play Services
now Android 4.2.2 platform includes Google Play services. Just use an emulator running Jelly Bean. then no need to victim of using third party distributing play service apk.
Thanks..
i don't believe its possible to get APKs via google play store on the emulator; hacking concerns... The google play app is only available to certain licensed manufacturers. See similar question here
Simple Answer : Not possible to install the app from the Google Play in emulator because Emulator does not have Play Store app.
If you can get the APK from some source then you can install that in the simulator using the adb
you have to download 1.ARM-Translation_v1.1.zip and 2.gapps-jb-20121212.signed.zip.
1st you have to drag the ARM-Translation and a/c to instruction you will go.
2nd step you have to drag the gapps-jb-20121212 then a/c to instruction you will go then u see in your Genymotion emulator has playstore or some google apps ....
i think i will help to you....
I have been trying for the last 2 hours now to get the map to work in the emulator on Mac. I have followed several suggestions on Stack such as this and this I have tried over and over again, are these out of date?
I have done several new projects, fresh virtual devices, cleaned all the time and it's just not working. Any suggestions?
I had the same problem as you ask after installing apk files I have successfully run the google map version 2 on Android version 4.2.2 level 17 emulator. I have spend 2 days to find what is the problem.
make sure you have updated version of google api with latest updated version.
and google play service in extra folder of Android Sdk Manager.
Link To follow all step to start map v2 on emulator: https://blog-emildesign.rhcloud.com/?p=527
steps:
1) delete your current AVD or Genymotion emulator
2) create new AVD or Genumotion emulator
- Device: select Device any
- Target: choose target as you want but make sure it should be 4.0 or greater
- CPU: Intel or ARM
- RAM, Heap, Internal storage, sd card: it should be lower according to your pc specification means if you have good RAM and process then go for the higher as you can.
you need to install
three apk files on emulator
1) com.android.vending.apk
2) com.google.android.gms.apk ( above both are given in the link)
Note: Google play service apk (gms) version should be same as your
google play service library mention in your code. Check google play
service library version name and download the same version of apk file
3) com.google.android.maps
EDIT:
if you have successfully install all these on your emulator without failure then you will definitely open google map on emulator.
one more thing I would like to suggest you that version of google play service library that you refer in you project should be same as you install google play service apk file. It is not mandatory but some time you may face the same problem google play service version miss match error.
I have found some link hope it will help you. Apk file download link:
For,
gms: http://uploaded.net/file/bnzl1si4
vending: http://www.androidfilehost.com/?fid=9390135922294521859
Hope it will help you.
I am using android G1 phone and now I have upgraded my SDK to 1.5 and I want to run my application on a physical device, but when I connect my phone to PC I'm able to install my app only when I'm selecting 1.1 SDK but not when selected 1.5 .
So is there any updates required for the device so I can proceed with 1.5 SDK? Also, if possible can you provide with a proper link? That would be great.
An update for your phone will be pushed OTA by your operator, just wait. If it is a dev phone look at HTC pages.
If you're in the US or UK you can find instructions on how to force-upgrade here. I did it on mine and it went fine.