I can't find Google Play Billing Library in the Android Studio SDK Manager [duplicate] - play-billing-library

This question already has answers here:
Why is the Google Play Billing Library not shown up in the SDK Manager?
(3 answers)
Closed 3 years ago.
I'd like to make an android application with in app purchases.
So I read some document and knew that I have to download the Google Play Billing Library from SDK Manager.
But I can't find that library in my Android Studio SDK Manager.
I tried to add compile 'com.android.billingclient:billing:1.0' to the dependencies section of the build.gradle file for my app.
But I can't still find the library..
How can I solve my problem?

It looks like you have to add it to your build.gradle dependencies, have a look at these docs. So it won't appear in the SDK manager. Once you've added the dependency in build.gradle, you'll need to create a billing library client, as per the code in the example in the docs.
Or, have a look at the billing example provided by Google.

here:https://github.com/bumptech/glide/issues/2993
Solved by re-order repositories from
repositories {
google()
jcenter()
mavenCentral()
}
To
repositories {
mavenCentral()
google()
jcenter()
}

Related

How to use artifact from google artifact registry

I have published my project .jar to artifact registry. I'm not sure how to refer to it, to use as a dependency in another project (with gradle). Thank you in advance.
As described in this page, you have to register your project through this form and then to configurer your Gradle repositories as described

Does the Unity AWS Sdk support standalone or only mobile?

I am looking for a Backend-as-a-Service provider for my standalone game. The AWS Unity Sdk looks very interesting, but it is labeled as "AWS Mobile Sdk." Does this mean that only mobile platforms are supported, or am I missing something?
Any guidance will be greatly appreciated.
Standalone is supported by AWSSDK.
If you search Unity and AWS, most of the information is concerning with the mobile SDK, part of the function like CognitoID is available, but there is special consideration supporting Unity as you can only import DLLs to acess AWSSDK rather than the NugetForUnity. Here is the official document guiding you downloading the DLLs.
And here is my repository which is a demo of Unity directory uploading implemented with AWSS3 bucket.
Thank you for your question.

How to make use of alexa voice sdk or api into an application?

I am trying to build a Virtual Assistant using Alexa voice service and visual studio 2017. I have installed the alexa voice service sdk in windows and ran the SampleApp (that comes along with the library) for testing. The app is running smooth. No issues.
The sdk contains a couple of folders. Each folder is a library. For instance, ACL, ADSL, AFML, AVSCommon are folders present in the sdk etc.
ACL - Alexa Communication Library.
ADSL - Alexa Directive Sequence Library.
AFML - Activity Focus Manager Library.
Each folder contains subfolders such as include, src, test and then CMakeLists.txt. Now the question is how do i make use of these libraries. As i need these libraries to build my application, how do i import these folders into visual studio 2017.
As I said, I compiled the sdk using cmake. Upon doing this, I got a build folder. Inside the build folder,there is a bin folder which contains each library dlls. Will this is be helpful. Please help me. I am completely stuck. I looked at various forums in stack overflow on how to import but no luck.
You are getting to the right path to use the library instead of the code. As you are able to compile the code to generate a DLL file, you can now add it to your project.
In Visual Studio, right-click on your project "context menu" and use the option "AddRerefernce". Follow the prompts to add the DLL.

How to build Xamarin Forms App with Linker enabled and resolved dependency?

I've developed many Xamarin Forms Apps but this time I'm getting a big issues as I'm not able to reduce the size of the app. I've integrated many other nuget packages and sdk like onesignal for push notifications, Amazon AWS S3 for files upload and show etc. The problem is, When I integrate the SDK in a test app then it successfully builds and all done but in my main project I'm having error. In Android, Onesignal shows error and so when I disable linker then it works and in iOS Amazon S3 SDK shows error and when I disable linker then it works fine. But the size of the app increases too much and which is not acceptable. I've also tried skipping the assemblies option but that again don't work. :(
How can I resolve this problem?
Yep. This is a common problem. Without more details on what your build configuration options are between Debug and Release, you could try referencing the library explicitly in the code:
(Source: https://lostechies.com/jimmybogard/2014/11/11/dealing-with-the-linker-in-xamarin-apps/)
public class LinkerPleaseInclude
{
public void Include()
{
var x = new System.ComponentModel.ReferenceConverter (typeof(void));
}
}
I also suggest you have a read of the following documentation for ideas to help, there are a number of things you can do:
https://developer.xamarin.com/guides/ios/advanced_topics/linker/

Where are the Google Admin SDK libraries?

I would like to work with the Google Admin SDK and get information about our domain's email settings per user. I refer to Developer's Guide | Email Settings API
I am comfortable approaching the problem in Java, Python, and C# and all three languages have examples included in the documentation.
Where can I get all these libraries shown in the documentation?
C#
using Google.GData.Apps;
using Google.GData.Apps.GoogleMailSettings;
using Google.GData.Client;
using Google.GData.Extensions;
Java
import sample.appsforyourdomain.gmailsettings.GmailSettingsService;
Python
import gdata.apps.emailsettings.client
They are located here:
https://developers.google.com/admin-sdk/directory/v1/libraries
If you work through the Java QuickStart, these three imports aren't included and the provided quick start code won't compile.
import com.google.api.services.admin.directory.DirectoryScopes;
import com.google.api.services.admin.directory.model.*;
import com.google.api.services.admin.directory.Directory;
It seems the Java portion of this project is in need of an update.
Note the Maven and Gradle builds on the Java download page - https://developers.google.com/api-client-library/java/apis/admin/directory_v1 - show this error message:
This library is in the process of uploading to the central Maven repository. Please check back in a few hours.
I've seen that message there for a couple months now.
There are basically 2 kinds of APIs for Google Apps. The old style "GData" Atom based APIs and the new API Discovery Service compliant "Google APIs" (modern infra).
The Email Settings API is an old style GData API so you need the GData API client libraries.
The GData API client libraries are available for download from here:
https://developers.google.com/gdata/docs/client-libraries