Google Play Services SDK version for ARC - android

We are trying to integrate Google+ login on our Android-ChromeOS app. In this guide (https://developer.chrome.com/apps/arc_playservices), the last step suggests to downgrade the Google Play Services SDK so that it works in ARC. What is the exact version of Google Play Services SDK we need to downgrade to?
Latest version of this SDK is 10.2.0. We tried with 9.0.0 but it didn't work.

Issue resolved. Upgrade prompt is no longer displayed.
Had to set up the following
classpath 'com.google.gms:google-services:1.5.0'
So that we could downgrade the play services to a lower version
compile 'com.google.android.gms:play-services:8.3.0'

Related

Google Play Service not getting updated latest version in Android Studio

I am developing location based native Android application. I am using the play service version around 10 series. I heard there are lot of release of play services done by Google. I need to use the latest play service versions like 11 series or 12. I am trying to update the latest play service version through my Android studio SDK Manager. But there is no update occurred in this update. Showing 11.0.4 my top most version of the play service. How to update my play service version upto 12. I referred the versions from here.
https://developers.google.com/android/guides/releases
My current play service version is showing as 48 in SDK Manager. How can I update latest version. There is no more update available. Help from anyone is appreciated.
Now the google play services libraries are not in the SDK Manager.
You can donwload the latest dependencies directly from maven.google.com.
Check the official doc:
Add the libraries under the dependencies block
Ensure that your top-level build.gradle contains a reference to the google() repo or to maven { url "https://maven.google.com" }.

Unable to Get Latest Google Play Services - Google API for Android

My problem is simple but I am not able to resolve it.
I have updated latest version of Android Studio and my Android SDK Manager[Screen Shot Attached] says that I have latest version of Google Repository but actually I don't have the latest versions installed. I only have Google Play Services version 11.0.4 on my machine in Android SDK Folder but its not latest version, the latest version has reached to 11.8.0 mentioned Here.
I have tried everything but I am not able to download the latest version and I need help please.
Please tell me how can I download the latest version of Google APIs for Android.
You don't need to use Google Play Services from the SDK Manager. It is recommended to use your gradle build.xml to get it from Google's maven repository. See the setup guide
If you are developing on Unity there are many plugins you can use, just Google Search for "Google Play Services Unity".

How to resolve Google Play Services library dependency with minimum required version

I am trying to include a SMS feature from Google play services support libraries to improve the authentication process. The documentation around it recommends using atleast minimum of 10.2 play services in order to use it.
Prerequisites:
The SMS Retriever API is available only on Android devices with Play services version 10.2 and newer.
However, when I go to build my project specifying the 10.2.0 version of in gradle, Android studio tells me it is unable to resolve this dependency from either jcenter or google's repos.
compile 'com.google.android.gms:play-services-auth-api-phone:10.2.0'
Error:org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.google.android.gms:play-services-auth-api-phone:10.2.0.
I tried searching for the package, but couldn't find that version: google's maven repos only show 11.0 and above.
It would be really helpful if someone could point me to the minimum available version of play services libraries over 10.2 that can be used to make this work.
Versions of Google Play services prior to 11.0.0 are only available through the SDK Manager. Make sure you have installed the Google Play services item in the SDK Tools tab of the SDK Manager.
However, in the case of the SmsReceiverClient API, that class was only added in Google Play services 11.0.0 SDK. It may be that the underlying implementation did exist back to 10.2, but was not public.
In any case, Google Play services releases an SDK only after it is made available to all users and will automatically update the vast majority (99.5%+) of users within the first week or two of availability. Given that 11.0.0 has been available for over 6 months, it should not be any issue in relying on the 11.0.0 library.

Can't implement Google Maps in Android project

i get that my app won't run without Google Play services,which are missing from your phone. but I have added them as a dependency
Check if "play services" are installed and works on your phone. Which version of play services are installed on your phone ?
Only dependencies is not enough for it; you should have Google play Services in the latest version.
You can download Gapps for Emulators in http://opengapps.org/ (select x86 or x86_64 if you can't with ARM) and update them.
I resolved by lowering the version of google play services in dependecies, and it now works on the emulator because the latest version 9.4.0 was not compatible with that of the emulator

Google Play services - version issue

I am targeting Android > 19. The latest Google Play services version is 5.2.08, but on my device the latest I can install is 4.4.52.
Now, when I check for GooglePlayServicesUtil.isGooglePlayServicesAvailable() I always get that my version needs to be updated and I am redirected to the store. But I cannot update from strore, because the latest version is not supported on my device (I see only open and uninstall buttons).
What is the solution for this? I need only notifications feature, nothing more. Should I use older version of Play Services? How can I know which version to choose? Where to get the official older version?
Thanks
If you use Android Studio, just replace in build.gradle :
compile 'com.google.android.gms:play-services:+'
by
compile 'com.google.android.gms:play-services:5.0.89+'
or lower
You should have something like this in your build.gradle:
compile 'com.google.android.gms:play-services:5.0.+'
Try changing it to something like this:
compile 'com.google.android.gms:play-services:4.4.+'

Categories

Resources