I am trying to add Google Play Services in my application in the Xamarin.Android platform as follows. However, it seems there is something wrong!
Here are the steps that I followed:
Step 1 : In the components -> Install Google Play Services - Maps
Step 2: Once the installation is completed, it shows as follows
When I click on the component, it shows as follows:
Step 3: After I get the above error, then I added GooglePlayServices.Maps.dll in the References, but still the incomplete message exist.
I know this answer is coming a bit too late but it could help someone.
The solution is really simple. Just use 29.0.0.2 version of Google Play Services - Maps (not the latest one).
Hope this helps.
Related
So I have made a small Android game(private) and I want to put Google sign in and Leader Board so I can play with my friends.
I have searched on youtube how to create a Google sign in but I didn't find any step by step videos.
Also, when I tried configuring app on https://developers.google.com/identity/sign-in/android/start-integrating#next_steps
with com.example and sha1 I got an error:
"Something went wrong when creating your project. Please try again
later."
Any ideas?
I have never tried implementing Google services again so I am a total newbie.
I have added implementation 'com.google.android.gms:play-services-auth:15.0.1'
I've been trying the same thing, and didn't find any up to date tutorial. I give you the steps I've figured out so far:
Create a Google Play Console account (costs 25 USD)
Create a project there and follow through all the steps in your projects' "Game Services", like "Linked Apps", "Achievements", "Leaderboard"....
Under achievements scroll down to "Get resources" and copy the code to res/values/games-ids.xml in your Android Studio project.
This tutorial: https://code.tutsplus.com/tutorials/get-started-with-google-play-games-services--cms-27755 is good until that point, but the code to call the Google Api is deprecated.
Follow the official guide to set up a Google sign-in instead: https://developers.google.com/identity/sign-in/android/sign-in
The leaderboard: https://developers.google.com/games/services/android/leaderboards
And the achievements: https://developers.google.com/games/services/android/achievements
You do not need to create neither a .xml nor a .java file for the leaderboard and achievements, the code samples in the tutorials above will call the standard dialog for this automatically.
Hope I could help a little bit :)
I am really confused on why there is a project named Google Play Android Developer in my projects listing. I have developed a really simple app which I created a project for but I don't know what Google Play Android Developer project is for. When do I use this?
P.S. Sorry if this is the wrong place to post. I couldn't find a better place
U can reffer Android developer console ;
Click this link
The latest update to the Google Play Services Library of the Android SDK removed the LocationClient class from it. How can i downgrade to the previous version so i won't have to rewrite the code to retrieve a client's location?
I do intend to change the code to use the new LocationApi later, but for now, i need a quick fix.
Go to settings>apps>all and find Google Play Services. Tap it, then tap 'disable' or whatever it is. Then tap on the 'uninstall updates'. After you've installed your version of the services, remember to tap the button 'Take to use' or whatever is displayed.
I found this site here which has links to mirrors of Android SDK Extras by Google. I downloaded google play services SDK r21 from there and am currently using it.
http://venomvendor.blogspot.com/2012/03/android-sdk-extras-by-google-inc.html
Hope this helps someone.
I'm working on an Android app where I need to write to a Google Drive spreadsheet. There's a quick start video on "Google Developers Live" that seems to go through most of the required steps, but for the library usage they just say to click some button in Eclipse. I'm not using Eclipse though and would like to make this work with a maven project.
What libraries are required and how can I get them all using maven?
Here's the part of the video I'm talking about: http://youtu.be/Ied1CjJ0iP0?t=9m41s
Also, I've found this SO post and the latest edit says to use the Drive API V2 but a google api client is linked. I'm not exactly sure what's needed or if perhaps something has changed since then.
You should use the Google API Java Client. Downloads for Drive are here: https://code.google.com/p/google-api-java-client/wiki/APIs#Drive_API
I'm trying to include Google Play Services in my project to use Google Maps Android API v2, based on steps provided by Google in this link Google Play Service Setup
But unfortunately, the include process always ends with a red cross next to the included project as in the next image:
How to solve this ?
I know this is a bit late but I recently had this problem and what solved my problem was simply making sure that the library and project were on the same partition. Once i put them on the same partition it started working fine.