Closed Muran-Hu closed 6 years ago
Same thing happens with me too
@addgoa, is there any solution?
@addgoa, please refer to the discussion "not working".
Any solutions ?!
Same Issue happened for me like a month ago. Any sollutions?
Hi to resolve this issue go to the google api console from your gmail account. Here you will see a disable button in front of Google drive api. just right to that you will see a gear or setting button click on it and generate oAuth token.
That's it!!
Then, you can run the demo .
This will work once you create your Google API project and put your SHA-1 and Package name. And, Keep in mind that Your package must not conflict with others project in Google. Hope this works. Register your project in : https://console.developers.google.com and Enable API once project credentials are all set. -Surajit. Happy Coding.
Still not working only getting statusCode=SIGN_IN_REQUIRED
The same problem has been occured in my environment. Some of the features works properly but others do not.
I googled and found some articles in StackOverFlow like this how-to-get-driveid-of-created-folder-in-google-drive-android-api but it still doesn't work.
These features work well below:
But these features do not work below:
I think there is still undocumented procedures to run the demo.
I solved the problem myself. I've forget to set EXISTING_FOLDER_ID and EXISTING_FILE_ID described in the bottom of README.
However I think README is not enough to run this demo because we cannot find out what to set these constants..
+1
Any updates on the issue?
Add debug SHA key in Api cloud console oAuth instead of release SHA key
You no longer need to set the EXISTING_FOLDER_ID and EXISTING_FILE_ID values. I have updated the README in https://github.com/gsuitedevs/android-samples/pull/78.
Please follow the authentication instructions here: https://developers.google.com/drive/android/get-started. If you still have issues with sign in or specific activities (@medaka -- did you try to retrieve on a text file?), please file a separate issue.
I am having this issue on my work apps. But we are just using the basic sign in. We don't need drive api or anything for our apps. Funny thing it was working for months and now out of the blue it is not. Really annoying. Debug and Release creds on the console are correct too.
Weird thing is sometimes the silent sign in works then after some time it fails and I get that same error. Any ideas?
Hi all,
When i running the demo, one issue appeared:
I choose my Google Account: muranhu@gmail.com to access Google Drive, but failed. Here is the log message:
Is there something wrong or i missed something? Could you please share your advice here? TIA
Thanks Muran