googleworkspace / android-samples

Android samples for Google Workspace APIs
Apache License 2.0
636 stars 410 forks source link

Sign-in Failed #73

Open aashishace opened 6 years ago

aashishace commented 6 years ago

I have generated the signing certificate fingerprint and registered the application and also enabled the google drive api but still getting error "Sign-in Failed" . And i couldn't understand the lines below from README.md file "set any resource IDs to those that you have access to. Resource ID definitions are on:

com.google.android.gms.drive.sample.demo.BaseDemoActivity.EXISTING_FOLDER_ID com.google.android.gms.drive.sample.demo.BaseDemoActivity.EXISTING_FILE_ID

can anyone provide me working code snippet of that? sample demo

asrivas commented 6 years ago

Did you also register an OAuth 2.0 client for the demos package? Please see instructions here: https://github.com/gsuitedevs/android-samples/tree/master/drive/quickstart#set-up

Please also do this in addition to adding the Keytool SHA1 fingerprint. Please see full instructions here: https://developers.google.com/drive/android/get-started

Also please ignore the EXISTING_FOLDER_ID AND EXISTING_FILE_ID instruction. Those no longer apply and I removed them in: https://github.com/gsuitedevs/android-samples/pull/78 .

77251380 commented 6 years ago

i have same issue,i think i have do all things,but no use