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/
Related
Please accept my apologies for my poor English skills.
I want to create an ARCore application.
when I run the Hello ARCore example on my Honor 9x I see a message that tell the Google play service for AR needs to be updated to the latest version. the problem is that my device doesn't support the latest version. Can any body tell me how can I solve this problem please?
Well since there's no way to control what version of Google play service for AR, nor what version of the Android is on your device, then the only thing left to do is find a way to use an older Android Studio, but that's easier said than done. From now on, whenever you set up a new Android Studio, do it on new hardrive or virtual machine so you have the option to go back in time to a previous version. Have been doing that ever since the internet killed the idea of development tools being self-contained on an CD or DVD...
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.
I am working on a xamarin android application. When I add Google Play Services from components in my application it continuously builds and never stops.
What could be causing this?
The cause it's Google Play Services itself, unfortunately once you added it will take several minutes to build. Try removing it and add it as a nuget, I don't think this will solve the entire problem but at least it will let you build the app, but remember it will still take it time to do it.
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
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.