All Questions
Tagged with google-api-java-client android
255 questions
0
votes
1
answer
594
views
Caused by: java.io.IOException: The Application Default Credentials are not available
I'm working on an android app that interfaces with a google sheet. I was following the api documentation for writing values to certain cells but I'm getting this error here:
Caused by: java.io....
-1
votes
1
answer
788
views
The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise - java android
I making an app using google drive to store files for user to their google drive
I followed google developer guide in https://developers.google.com/drive/api/guides/about-sdk
and when i press the ...
0
votes
1
answer
418
views
Unable to upload file in specific folder in google drive using REST API
I am trying to upload a local file to a specified folder in Google Drive using REST API from android app, the file is uploading in the root directory but not uploading in the specified folder. No ...
1
vote
0
answers
700
views
Google calendar api watch method for events set up with Kotlin/Java
I'm trying to set up Push Notifications for Google Calendar using Kotlin and V3 api.
This is my class that contains functions for CRUD operations with events:
import com.google.api.client.auth.oauth2....
1
vote
1
answer
779
views
Android google drive v3 api File is not Created/Store application-specific Folder but instead it create in My drive section with "Untitile" file name
I try to create file in google drive app specific folder. I create OAuth 2.0 Client IDs in google developer and enable drive api and also add scopes in OAuth consent screen. App is successful sign in ...
2
votes
0
answers
232
views
Having trouble getting Google Drive authorization
I have an Android app that I am trying to (re)implement Google Drive access for. The method I'm following is Google's migration guide to the update REST API here. I have my consent page set up ...
1
vote
1
answer
779
views
Google Cloud Endpoints error Caused by: java.lang.IllegalArgumentException: expected primitive class, but got
I have a simple Google Cloud Endpoint that is called from my Android app. It has been working like a charm for quite a long time. Recently, I have updated Android Studio, Gradle plugin, and the build....
0
votes
1
answer
1k
views
com.google.api.client.googleapis.json.GoogleJsonResponseException: 401 Unauthorized
I have the following code:
package com.example.bluelightlite.modules
import android.content.Context
import android.os.AsyncTask
import com.example.bluelightlite.builders.ServiceBuilder
import com....
2
votes
2
answers
2k
views
Unable to fetching subscription detail from Google Play Android Developer API
I am trying to use Google APIs Client Library for Java to get information about user's subscriptions purchased in my android app. Then I got this error:
{
"code" : 401,
"errors" : [ {
"...
3
votes
1
answer
990
views
Google maps DirectionApi : FATAL EXCEPTION: Rate Limited Dispatcher
description:
I want to get result from direction api using Java Client for Google Maps Services.But when i click onInfoWindoclickthen i got FATAL EXCEPTION: Rate Limited Dispatcher error on my ...
61
votes
5
answers
27k
views
What is "We’ve detected that your app is using an old version of the Google Play developer API" warning in Google Developer Console?
We do not use any Google Play Developer APIs explicitly, yet we are receiving the following warning:
Is this related to https://developer.android.com/google/play/billing/billing_library_releases_notes ...
4
votes
0
answers
470
views
Google Cloud app -Android- restriction on API key does not work
I'm using an API key for some Google Cloud services but the problem is the following: if I use the "app restriction" displayed in the Google Cloud console, my Android application losses access, and ...
12
votes
1
answer
4k
views
How to update deprecated com.google.api.client.extensions.android.http.AndroidHttp
I have the follow object
HttpTransport t = AndroidHttp.newCompatibleTransport();
but whole AndroidHttp class (com.google.api.client.extensions.android.http.AndroidHttp) is marked as deprecated.
I ...
1
vote
2
answers
149
views
google api java client not passing parameter with value 0 when using proguard-android-optimize.txt
I have a Google API java client model class as:
public final class AccountProviders extends com.google.api.client.json.GenericJson
with a parameter lastSyncTime as :
/**
* @return value or {@...
0
votes
1
answer
53
views
How to verify android requests in server side using Google apis
I'm working on payment library and I want to make sure all of the receiving requests in back-end is from my library.
how can i do this by Google apps?
Any help will be appreciated.