
:max_bytes(150000):strip_icc()/404-not-found-error-explained-2622936-b5abe50f71c1433e8112ba57b5de5346.png)
:max_bytes(150000):strip_icc()/401-unauthorized-error-what-it-is-and-how-to-fix-it-2622934_v1-d18dff2fc2a244afac027e582cd16864.png)
My code: Account account = AccountManager.get(context).getAccountsByType(

Where the code says "", I've tried to use both "API key" and the "Client ID", both gave the same error. It seems like the Drive object does not accept a client secret. I've also tried to create a key for an "Other" (instead of Android/iOS) installed app, but this gives me a Client ID and Client secret. I've used the key in the ~/.android/debug.keystore. The last one I've created (and tested with) was created using "Create another client ID." -> "Installed Application" -> "Android". I've watched the Google I/O sesssion, but the most important part (how to create a Drive object using your Client ID & Client Secret) was left out: I want want to access Google Drive to upload jpeg files. From my understanding, there are 1001 ways to access Google drive (Google Docs API, REST & Google Drive SDK v2). I've been fighting with Google Drive API for Android for more than 50 hours now, and have not come one inch closer.
