我正在尝试构建一个Android应用,以使用Google日历API从Google日历插入和检索事件。
`GoogleAccountCredential mCredential;
mCredential = GoogleAccountCredential.usingOAuth2(
getApplicationContext(), Arrays.asList(SCOPES))
.setBackOff(new ExponentialBackOff());`
每当我尝试访问API时,它都会给出错误UNREGISTERED_ON_API_CONSOLE。 我已按照日历API页面上的步骤在开发人员控制台上注册API密钥