Android genymotion issues - android

I am trying to make a simple map and I am using genymotion as a virtual device. When I am running my program I am getting an error which says: The app won't run unless you update google play services. when I am trying to update nothing happens. Anyone has any idea of what can I do so I can display the map on the atb?

Basically i solved it thanks for your advice. If you want to use google maps on an emulator such as genymotion you need to install google play on the emulator. For me all the emulator that android provides me on eclipse didnt work so i found genymotion to be the best one. Cheers

Related

Google Places Autocomplete Can't load search results

I am trying to implement the Google Places Autocomplete API sometimes I am able to get location list but sometimes I get "can't load search results" message. Can someone pease help me with the issue.
This issue have a few possible reasons:
No billing account associated to the project
If you are still using the old Places
SDK
If you reach your quota limit(e.g. self imposed cap
usage)
If your app is not properly
restricted
If any of the above doesn't fix your issue, it would be best to reach out to the support team of the Google Maps Platform as this error commonly has something to do with your configuration in the GCP console wherein only the support team of Google Maps Platform can assist you.
Hope this helps.
i already added the billing service also then get the same error then i added the api key in gradle file and then its works for me
Added your api RNGP_ANDRIOD_API_KEY=***** in gradle.properties
If any of the above still doesnt work, and if you happen to be using an emulator to run the app, try uninstalling the app, then re-installing it when you run the program in android studios.
Background info:
I happened to encounter this issue on my emulator despite doing everything mentioned above, but when I tried downloading the app onto my phone, I found it working there so I tried uninstalling the app on my emulator and it worked after.

wont run without Google Play services

The code builds and runs but I am getting Google Play services issues as follows. I do not know what I am missing. I am using Xamarin Android Player (XAP) emulator.
In the Reference
Xamarin Android Player was deprecated some time ago, so we would not advise using it anymore as it will no longer be updated.
Having said that, we do have some old instructions here which may assist with this question: https://university.xamarin.com/resources/how-to-install-google-play-on-android-emulator
One of the motivations of XAP was to make it easy to have a well-performing emulator. Moving forward, we suggest using AVDs from Google which are now just as fast thanks to HAXM: https://developer.xamarin.com/guides/android/getting_started/installation/accelerating_android_emulators/

Google Play store icon not visible on emulator. android

Can anyone tell me a simpler way of making google play store icon visible on emulator. I have tried multiple solutions but none have worked.
you have 2 options:
Install it on the default android emulator. You can see an answer in here
Use Genymotion (which is an awesome and free for personal use Emulator) and install google play store easily by following this guide.
I personally use Genymotion in my projects and it works amazing and also provide you a lot of targets (e.g. Samsung, LG etc.).

Google Maps API v2 does NOT works on Emulator, but NOT on Device

Thanks to the community I could solve my last problem. This --->(Google Maps API v2 - Fragment's error)
The app works on the emulator (it shows the "This app won't run unless you update Google Play Services), something normal, but when I put the .apk on the phone (4.2.2 version), it crashs!
I read somehting about different API keys. Now in my proyect, I have the API Key i got from the program (with the SHA1 fingerprint from Eclipse).
Do I need maybe a different one?
Thank you, and sorry for these two consecutive questions!
You don't need another key. You just need a good emulator to run Google Maps. I am using GenyMotion. It is really fast & efficient. Give it a try.
Follow The Steps
1)Install the Oracle VirtualBox Latest version.
2)Install the geneymotion latest version.
3)Download following Apps,
www.dropbox.com/s/lfde3juixuy88rg/GoogleLoginService.apk
www.dropbox.com/s/9kurwyhbbuecaea/GoogleServicesFramework.apk
www.dropbox.com/s/9x8924gtb52ksn6/Phonesky.apk
www.dropbox.com/s/koo4wiwqg8agy8n/com.google.android.apps.maps-1.apk
www.dropbox.com/s/bh058hbrelccfsr/com.google.android.gms-2.apk
4)Run the Genymotion & install the device version,
5)Drag & Drop these app to Genymotion.
6)Restart the Genymotion.
7)Your genymotion is ready to run the Google Maps,

Google Play Services has to be updated for my app to run on emulator, Need to run the app on emulator only as I have to find the id's.

I am trying to automate an android application using Robotium. I am trying to find the id's of the elements using Hierarchyviewer on the emulator. When I launch my app on the emulator it says "Update Google Play Services" and app closes. I tried all the solutions to updated Google Play Services on Emaultor- NO USE. Tried with AVD - Google API 4.2.2 as well.
Please let me how do I proceed from here.
As pointed out by GrIsHu you should be able to follow what is on that page. If you really cannot get that to work, I might suggest trying to use an alternative emulator Genymotion This makes it really easy to get new emulators that run fast and also gives you a few extra features.

Categories

Resources