Comments (16)
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!!
from android-samples.
- Create project at https://console.developers.google.com
- Enable drive api
- Create credentials for your project (Add keystore SHA-1 and package name)
Then, you can run the demo .
from android-samples.
Same thing happens with me too
from android-samples.
@addgoa, is there any solution?
from android-samples.
@addgoa, please refer to the discussion "not working".
from android-samples.
Any solutions ?!
from android-samples.
Same Issue happened for me like a month ago. Any sollutions?
from android-samples.
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.
from android-samples.
Still not working only getting statusCode=SIGN_IN_REQUIRED
from android-samples.
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:
- Create a file
- Create a folder
But these features do not work below:
- Retrieve meta data
- Retrieve Contents
I think there is still undocumented procedures to run the demo.
from android-samples.
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..
from android-samples.
+1
from android-samples.
Any updates on the issue?
from android-samples.
Add debug SHA key in Api cloud console oAuth instead of release SHA key
from android-samples.
You no longer need to set the EXISTING_FOLDER_ID and EXISTING_FILE_ID values. I have updated the README in #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.
from android-samples.
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?
from android-samples.
Related Issues (20)
- Unable to Signin HOT 1
- Question: Google Drive API behavior post shut down HOT 4
- Question: Google Drive Application Specific Folder Deprecation HOT 7
- Get Specific drive folder 's list in Android HOT 1
- How to use Google Drive API in Android application? HOT 6
- Error after updating to new Gradle version HOT 6
- META-INF/DEPENDENCIES error HOT 1
- Deprecation Example - Sign In stuck HOT 5
- Image upload with folder example Not Given HOT 1
- Drive Access popup is not coming
- Solve Google Drive 401 error for Android release builds HOT 2
- App script sample HOT 1
- I got a headache when I was trying to figure out all these stuff
- How to configure sample for testing? HOT 2
- Displaying images
- How to create a shareable folder programatically in google drive HOT 1
- Deprecated link in the README.md
- mDriveServiceHelper is always null
- 'call(java.util.concurrent.Executor, java.util.concurrent.Callable<TResult>)' is deprecated
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-samples.