-
Notifications
You must be signed in to change notification settings - Fork 410
Error after updating to new Gradle version #120
Comments
Which particular sample was this for? |
Hi @sqrrrl, thanks for your answer. Getting this for Deprecation sample. |
I am also getting this error, but can't downgrade my gradle plugin version to test if it will fix the issue. Is there another workaround available? I have also tried getting an access token from GoogleAuthUtil and setting it in the DriveServiceHelper calls with the setOauthToken method, but that also doesn't work. |
Turns out the solution is to add this line to the proguard file: I would recommend the sample project have its gradle plugin version updated, and a proguard file added to it to prevent users from reaching this issue. |
@HeinousGames that doesn't fix anything, I started getting the error as well and I'm not even using proguard |
Please refer to this doc: https://developer.android.com/studio/build/shrink-code |
Hi!
After updating Android Gradle plugin to 3.5.0 and Gradle to 5.4.1 I am getting always an error from Drive API. Whenever I downgrade to old gradle, everything works like a charm. Is there any ideas why can it happen and what are the steps to resolve this issue? Thanks!
Response:
The text was updated successfully, but these errors were encountered: