Reputation: 535
All of the sudden without any changes trying to save a file to Google Drive using
Drive.DriveApi.getAppFolder(mGoogleApiClient)
.createFile(mGoogleApiClient, changeSet, result.getDriveContents())
.setResultCallback(fileCallback);
Shows a warning dialog that says "app requires one or more Google Play services that are not currently available..."
I didn't change any code so can anyone give me a clue as to what is wrong? Thank you
I also get the log
Bad call: specified package com.google.android.gms under uid 10349 but it is really 10016
Also I am implementing this library
implementation "com.google.android.gms:play-services-drive:17.0.0"
Upvotes: 2
Views: 914
Reputation: 649
Google Drive SDK is deprecated. In order to use the Google Drive SDK you need to use drive REST APIs.
From the documentation:
This API is deprecated. Clients must migrate to the Drive REST API or another suitable solution to avoid disruptions to your application.
Upvotes: 4