How do I get the Google Play Billing Library? - android

According to Google's docs (https://developer.android.com/training/in-app-billing/preparing-iab-app.html#GetSample)
the Google Play Billing Library, required for in-app purchases and subscriptions,
is obtained from the Android SDK Manager, in the Extras section.
In my Android SDK Manager Extras section, it only shows -
1) Android Support Libary, 2) Google Play services and 3) Intel x86 Emulator Accelerator.
I am rather sure that the Google Play services is NOT the Billing Library.
Let me mention that my Eclipse is v2.0.1.20130919-0803 and there is an update available.
Also my SDK Tools are rev 22.3 and SDK Platform-tools are rev 19 (there are updates for both).
I would rather NOT get the updates at this time.
Must I, in order to get the Billing Libaray?
Thanks
Paul

From the very limited info I have found regarding my question, it seems that Yes, I have to get the updates. A couple of people have posted that other items do not appear in the SDK Manager when the latest versions of everything are not being used. I'll know more tomorrow, after doing the updates.
I did the updates (that's a story in itself) and now that my Eclipse is fully up to date, the Google Play Billing Library is listed under Extras in the Android SDK Manager.
So the answer to my original question is Yes, I needed to do the updates.

Related

Using Google Service's FusedLocationProviderClient in a Tablet Emulator

I need to emulate an Android Application on a tablet. I'm currently running Android Studio 3.0.
The problem is that the application uses Google Service API's FusedLocationProviderClient (Documentation), which, as far as I understand, requires Google Services 11 as minimum. The current SDK tools for Android Studio seems to only update Google Play Services to 10.9.*, and it seems that no pre-configured Tablet emulators come pre-installed with Google Play Store, meaning I can't simply update it through the settings page the same way that you can with the new phone emulators that has play store pre-installed.
I've tried to find ways to manually update Google Play Services to the newest one available, however almost all previously accepted answers on here seems to simply suggest downgrading build.gradle dependencies to whatever the emulator supports. That doesn't work in this case however, as I need features specifically in the newer versions :/
Is there any way that one can manually update Google Play Services on an emulator?
No mention of what you're saying in the link you provided. However, it was announced here that if you're going to use Google Play Services 11.2.0, your app's compileSdkVersion must be at least 26.
I would suggest that you go to Android SDK Manager and update your API package there. It often includes the System Image for emulators.
You can see on this screenshot that I'm able to use the Android emulator with Android 27 installed because I downloaded it first in the SDK Manager.
I'm able to use API 27 because I installed the system image in SDK Manager:
from SDK Manager, API 27 package is downloaded and installed, hence it's available on the emulator:
You can also check this SO post for additional reference.

Google Play Services SDK (version 38) update

First of all: I am a Software Testing Engineer, so I don't create applications. I use Android Studio for AVD creation, than I install already developed apk file on Android Emulator and make tests. About a month ago I have noticed an annoying pop-up "Update Google Play services" and when I clicked "Update" button - nothing happened.
I don't want to describe all my struggles, but finally I decided that root cause is the outdated Google Play Services SDK (now I have version 38). Android Studio doesn't offers me to update it, and also I can't find any information about version 39. Maybe you know something about this and can help me?
You can always check here the latest version of Google Play service. This is the official documentation of Google Play service that shows you the update and the highlights of each version. This page also shows you how to use the Google Play services APIs in the Android studio.
Note that to test your app using the Google Play services SDK, you must use either:
A compatible Android device that runs Android 2.3 or higher and includes Google Play Store.
The Android emulator with an AVD that runs the Google APIs platform based on Android 4.2.2 or higher.

Upgrade your Android Google Mobile Ads SDK to ensure ads keep serving

I received this message today:
Hi AdMob Publisher, In early July, we sent out a notice to AdMob
Publishers who have apps running on SDK version 6.4.1 and lower, to
inform them about deprecating SDK versions and the need to upgrade by
September 15, 2016. We apologize for any inconvenience or unclarity
that the email may have caused to some developers. To ensure that you
have sufficient time to make the changes, we have extended the
deprecation date to October 17, 2016. We also reevaluated the SDK
versions being deprecated, so here is the updated information. What
will happen starting on October 17, 2016: • All support for non-Google
Play Services supported SDKs and Google Mobile Ads SDK version listed
here will be deprecated. • This means that all traffic from these SDKs
will be disabled. What you will need to do: In order to ensure that
your AdMob ads continue to serve after October 17, 2016, please
upgrade your apps to run on the minimum SDK versions listed here. If
you are using a Google Mobile Ads SDK version from Play Services that
is listed on this link, you are not required to take any action. If
you have any questions, please contact us on the developer forum.
Thank you, and stay tuned for more updates and tips. Cheers, The
AdMob Team
I am using Play services Version 4.4.52-000. Is this version ok? Do I need to update?
Click on link provided in email https://firebase.google.com/docs/admob/android-legacy-release-notes
"Prior to becoming part of Google Play services, AdMob had a
standalone SDK with the following versions and release notes listed
below ( Refer to link ).
On October 17th, 2016, AdMob will stop serving ads to the SDK versions
listed below. If your apps are still using any of these SDKs, follow
our Get Started to integrate with AdMob's Google Play services SDK."
The note you have gotten about the SDK needing to be higher than v6.4.1 refers to a legacy, standalone Mobile Ads SDK that was deprecated back in February 2014, and that had its own versioning system.
If your google_play_services_version > 4 , you don't need to make immediate update however it's good practice to upgrade to latest versions of play services library.
EDIT 7-Oct-2016: If you are using a Google Mobile Ads SDK version from Play Services that is listed on this link, you are not required to take any action.
I think majority of confusion occurred due to version numbers between Admob Standalone SDK and version number of Google Play Services.

Where can I download the Google Play Services SDK 7.8?

Where can I download the Google Play Services SDK 7.8 even if it is a beta?
I need it for the new Google Proximity Beacon API.
I can not get it with Eclipse or Android Studio.
It seems, that some have it allready.
It is here now: Google Play Services 7.8
The APK already started rolling out, just checked and my Nexus 5 and it's already on 7.8.
The APK is just one part though, and if you want to develop apps with Google Services, you also need the client library:
https://developers.google.com/android/guides/overview
The client library (which is what you add to your app to access the Play Services APIs, and which will later talk to the APK on the phone) is something you download via the Android SDK Manager. The latest available revision is still 25 though, which corresponds to Play Services 7.5.
TL;DR, we're still waiting for Play Services 7.8 with the Nearby API to be released in full.
Client library is released to developers when the rollout of Play Services to most of the devices is done. They are probably doing some staged rollouts this time as well, so we need to wait a little bit more.

Google play service 4.2 available in USA?

i'm trying to find the google play service 4.2 in the SDK which is a rev 15 as per google. But, I see only rev 14 in the SDK manager. Do I have to do something special to get the latest version? I'm trying to get the chrome-cast SDK.
You'll be able to get started with the new APIs as soon as the Google Play services rollout is complete -- a process we expect to take several days. We'll then release the updated Google Play services SDK and you'll be able to download it through the Android SDK manager. Watch for more information coming soon.
Taken from the Official Android Developers Community
It is available now. Please update it from the sdk manager. thanks guys.
I do not see it either: Related Thread
It is said that all devices need to be updated first.
Updated 2/14: Google Play Services update rev 15 is available in the SDK Manager as of yesterday.

Categories

Resources