Git Product home page Git Product logo

Comments (16)

alexi190 avatar alexi190 commented on June 30, 2024 3

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.

broadxie2 avatar broadxie2 commented on June 30, 2024 3
  1. Create project at https://console.developers.google.com
  2. Enable drive api
  3. Create credentials for your project (Add keystore SHA-1 and package name)

Then, you can run the demo .

from android-samples.

addgoa avatar addgoa commented on June 30, 2024

Same thing happens with me too

from android-samples.

Muran-Hu avatar Muran-Hu commented on June 30, 2024

@addgoa, is there any solution?

from android-samples.

Muran-Hu avatar Muran-Hu commented on June 30, 2024

@addgoa, please refer to the discussion "not working".

from android-samples.

amrbrkt avatar amrbrkt commented on June 30, 2024

Any solutions ?!

from android-samples.

SlagbrandFrontwalker avatar SlagbrandFrontwalker commented on June 30, 2024

Same Issue happened for me like a month ago. Any sollutions?

from android-samples.

surajitshome avatar surajitshome commented on June 30, 2024

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.

ils-aashishj avatar ils-aashishj commented on June 30, 2024

Still not working only getting statusCode=SIGN_IN_REQUIRED

from android-samples.

guntamania avatar guntamania commented on June 30, 2024

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.

guntamania avatar guntamania commented on June 30, 2024

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.

rodrigoGA avatar rodrigoGA commented on June 30, 2024

+1

from android-samples.

ChillarAnand avatar ChillarAnand commented on June 30, 2024

Any updates on the issue?

from android-samples.

nishantsingh1814 avatar nishantsingh1814 commented on June 30, 2024

Add debug SHA key in Api cloud console oAuth instead of release SHA key

from android-samples.

asrivas avatar asrivas commented on June 30, 2024

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.

ozzy4654 avatar ozzy4654 commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.