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".
Related
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" }.
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.
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'
I have downloaded a sample project. It requires 10.2.0 Play service, so I can't change the compile version in the build.gradle to lower version.
I have followed the other SO questions:
Android Studio with Google Play Services
How to update Google Play Services for Android Studio 2.2 emulators?
updating Google play services in Emulator
I have also downloaded the latest Google Play service, install the necessary SDKs, clean build project, sync Gradle, use API 24 and API25 for my emulators.
None of it works, my Play service is still using 10.0.8. Below are the screenshots of my Android Studio settings.
Delete the emulator, and in the SDK manager, also delete the SDK platform on which that emulator was built.
Then, re-download that SDK platform and re-build your emulator.
Why?
If there have been updates to Google Play Services since you've downloaded said SDK platform and built that emulator, the legacy version of Google Play Services is probably still in that SDK platform's build.
I use eclipse to develop android.
I get this error:
10-28 15:31:02.020: I/Ads(5593):
Received log message: <Google:HTML> You are using version 8.3 of the Google Play services Ads SDK.
Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes.
See xxxx for instructions on how to get the latest version of Google Play services.
But I use eclipse. documents says for android studio. My project is very big and now I cant convert it for now from eclipse to adt.
UPDATE
I use all of these in another project and it is all fine. I can t understand what happened?
thanks in advance
Google is trying his best to force you to use Android Studio. I had similar problem, then I just manually downloaded play services project and added to my project.
Long store short, you can get it from here:
https://github.com/dandar3/android-google-play-services-ads
this is old, but already configured:
https://dl.dropboxusercontent.com/u/55162356/google-play-services_lib.zip