为什么Google Picker Hello World无法正常工作? [英] Why is Google Picker Hello World not working?

查看:89
本文介绍了为什么Google Picker Hello World无法正常工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚更改了developerKey和clientId.经过测试,弹出窗口显示选择我应该使用的Google帐户.之后,它再次显示一个弹出窗口,允许我的应用程序访问驱动器.单击允许按钮后.什么都没发生.弹出窗口关闭.控制台中没有消息.

i just changed the developerKey and clientId. upon testing, a popup showed to choose which google account should i use. after that, it showed a popup again for me to allow my application to access the drive. after clicking the allow button. nothing happened. popup closed. no message in console.

这是链接 https://developers.google.com/picker/docs/#hiworld

推荐答案

您还需要在项目上启用Google Picker API:

You also need to enable Google Picker API on your project:

  1. 转到 https://console.cloud.google.com/apis/dashboard?project =您的项目名称
  2. 点击"启用API和服务"
  3. 搜索" Google Picker API "
  4. 点击"启用"
  1. Go to https://console.cloud.google.com/apis/dashboard?project=YOUR-PROJECT-NAME
  2. Click on "ENABLE APIS AND SERVICES"
  3. Search for "Google Picker API"
  4. Click "ENABLE"

现在它应该正确打开Goog​​le Picker.

Now it should open the Google Picker correctly.

我希望这很清楚!

这篇关于为什么Google Picker Hello World无法正常工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆