Recently, I have Android code which accesses to Google Drive. I\'m using Google APIs Client Library for Java instead of Google Play services client
In my case (Google Drive REST API v3), ProGuard was the culprit, as the code was working fine in debug mode.
Just adding -keep class com.google.** { *;} to ProGuard rules got rid of the issue.
-keep class com.google.** { *;}
PS: I had to call requestEmail() but I did not ask for any GET_ACCOUNTS permission.
requestEmail()
GET_ACCOUNTS