I am trying to run the following code (taken largely from Stephen Wylie):
package com.googledrive.googledriveapp;
// For Google Drive / Play Services
// Vers
I encountered this issue as well and soon realized I had enabled the wrong 'service' under 'Google API Console > Services'. Try your application after enabling 'Drive API' instead of 'Drive SDK'.
Steps:
1) Go to https://code.google.com/apis/console
2) Select the correct application / project from the dropdown
3) Go to 'Services'
4) Switch 'ON' 'Drive API'