Google Drive SDK Exception

后端 未结 2 1663
你的背包
你的背包 2020-12-04 02:58

I am trying to run the following code (taken largely from Stephen Wylie):

package com.googledrive.googledriveapp;
// For Google Drive / Play Services
// Vers         


        
2条回答
  •  星月不相逢
    2020-12-04 03:19

    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'

提交回复
热议问题