Reputation: 4531
I have tried 6+ Example Project but all the project give this same response:
GoogleApiClient connection failed: ConnectionResult{statusCode=SIGN_IN_REQUIRED, resolution=PendingIntent{e00b1fb: android.os.BinderProxy@e266432}, message=null}
Where google drive api don't require any client id or access token. I also tried google official projects:
https://github.com/googledrive/android-quickstart
https://github.com/googledrive/android-demos
&
https://www.numetriclabz.com/integrate-google-drive-in-android-tutorial/
All of this Just show Google Sign In Screen and after click on account it's show same screen again and again. Now I can't understand the problem. Please give me a solution or way to solve this problem.
Thanks
Upvotes: 2
Views: 3438
Reputation: 4531
Finally, I solved this problem by following this steps:
Generate SHA1 KEY of my debug.keystore or keystore of app by this Comment on CMD
keytool -exportcert -alias androiddebugkey -keystore /Users/..your_path../.android/debug.keystore -list -v
create the project in: https://developers.google.com/mobile/add
Thats all :)
Upvotes: 3