financisto icon indicating copy to clipboard operation
financisto copied to clipboard

Google Drive Backup stopped working

Open mkhokhlov opened this issue 6 years ago • 8 comments

Google Drive Backup stopped working all of the sudden a few days back. I'm getting an OK-dialog box saying "Financisto requires one or more Google Play services that are not currently available.

It's weird because everything else seems to work and I surely have Google Play Services version 20.04.14 installed. It might be a red herring, but I think this coincided with an upgrade to Android System WebView to version 80.0.3987.132.

I'm using Financisto 1.8.2 on Google Pixel 3 with Android 10 and Android security patch level of March 5, 2020.

Let me know if any additional information is needed.

mkhokhlov avatar Mar 08 '20 02:03 mkhokhlov

Got absolutely the same issue.

nmusatov avatar Mar 08 '20 15:03 nmusatov

The error I'm seeing in logcat is this: One of the API components you attempted to connect to is not available.

It seems like it comes from GoogleApiClient.handleConnectionResult, when it's being called from GoogleApiClient.doBackup: https://github.com/dsolonenko/financisto/blob/master/app/src/main/java/ru/orangesoftware/financisto/export/drive/GoogleDriveClient.java#L117.

This is just a guess, but it might be ConnectionResult.API_UNAVAILABLE, the description of which is saying this:

The API will not work on this device or for your app or for this particular account, and updating Google Play services will not likely solve the problem.

Maybe Financisto needs to be re-built and linked against a newer version of Google Play Services? There is PR #136 bumping target and compile SDK version. I'm wondering if integrating it would be enough to fix the underlying issue.

https://developers.google.com/android/reference/com/google/android/gms/common/ConnectionResult#public-static-final-int-api_unavailable

mkhokhlov avatar Mar 09 '20 00:03 mkhokhlov

Interestingly enough, it just started to work again. Again, it's just a speculation, but it seems coincided with me updating Carrier Services to a newer version.

mkhokhlov avatar Mar 11 '20 16:03 mkhokhlov

google drive backup stopped working again: "financisto requires one or more google play services that are not currently available."

sash-kan avatar Sep 05 '20 13:09 sash-kan

New Phone Note 9 Pro and "one or more google play services that are not currently available" message. Any solution available?

LeonidasKapassakalis avatar Sep 06 '20 09:09 LeonidasKapassakalis

Google drive backup stopped working immediately after I upgraded to Android 11. The usual "financisto requires one or more google play services that are not currently available."

qwarkys avatar Sep 13 '20 18:09 qwarkys

Looks like GoogleDriveClient.java uses Google Drive Android API that has been deprecated a long time ago, and should have been turned off completely since December 6, 2019. It should be rewritten to use Google Drive REST API instead.

oleg-derevenetz avatar Oct 04 '20 21:10 oleg-derevenetz

I can't import CSV files from Google Drive either, I guess that might be the same thing. Somewhat frustrating, after hours of preparing my bank statements for import!

hillwithsmallfields avatar Nov 25 '20 20:11 hillwithsmallfields