Open qyzhaojinxi opened 4 years ago
Please add this following line of code in you proguard-rules.pro
-keep class com.google.api.services.drive.model.* { ;}
-keep class extends com.google.api.client.json.GenericJson { ; }
-keep class com.google.api.services.drive.* { ; }
-keepclassmembers class * { @com.google.api.client.util.Key
thank you. I have no idea if they have add this to their docs and demos. I had been stucked for a long time last year.
Please add following proguard text required in your docs and demos:
Fix OAuth Drive API failure for release builds
-keep class extends com.google.api.client.json.GenericJson { ; } -keep class com.google.api.services.drive.* { ; } -keepclassmembers class * { @com.google.api.client.util.Key; }
No Thanks!