Closed yccheok closed 8 years ago
Try to use "keytool -exportcert -alias androiddebugkey -keystore C:\Users\XXXXX.android\debug.keystore -list -v" and not the keystore that you generate, once you want the debug mode.
The path for the "debug.keystore" and the password is "android" https://support.google.com/cloud/answer/6158849?hl=en#android
And after that create the project in https://developers.google.com/mobile/add
Finally, enable the Drive API in the https://console.developers.google.com
@iuribtt Can it work in debug mode too, or does it have to be signed? Your first url is broken. What should I do with the output of the command you wrote?
Hello @AndroidDeveloperLB, it can work in debug mode as well. Please copy and past the URL in another tab on your browser. Otherwise the github will try to find internally.
@iuribtt Is it possible to use Drive API without being registered and without having a published app?
You don't need to publish the App, debug mode is for that, but I believe that you need to being registered in some way.
I see. OK.
Do you need to create an API Key or OAuth key with the package name and SHA-1?
Do you enter that data into the manifest like in Google Maps, or with a different tag (so not com.google.android.geo.API_KEY
)?
Hi, I'm using GoogleAPIClient and can successfully login to google account while running in debug mode. But when I generate a signed apk and publish it to play store, this is continuously asking me to login. Can you help me on this? This is going into onConnectionFailed event only for signed apk (working for debug apk)
I found out I can never run the android-demos successful
I running code with last commit - https://github.com/googledrive/android-demos/commit/4f57857ee10d94fabc4e381d39795eb8cd71b93d
Whenever I choose an item, says "Create a file in App Folder",
the following login dialog box will pop up
Whenever I select my account for example, the dialog will close for few seconds, and then re-appear again.
My logging message is as follow
Even if I press the back button, the login dialog will disappear for few seconds, then re-appear again
I do have a valid Google Drive account.
My device is Nexus 5, Android version 6.0.1
May I know is this bug from code example, or something wrong with my device settings?
I compile the code using Android studio 1.5.1, with all tools and sdk up-to-date.