小编Tim*_*gan的帖子

访问未配置的Android Google API密钥

我正在尝试使用Youtube Data API v3在Android上进行搜索,但是当我尝试使用我的API密钥进行搜索时,我始终会收到以下消息:

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
   }
  ],
  "code": 403,
  "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
 }
}
Run Code Online (Sandbox Code Playgroud)

我在控制台中将Youtube Data API设置为on.我一直试图弄清楚这几个小时.有谁知道什么是错的?

android youtube-api google-api-java-client android-youtube-api youtube-data-api

11
推荐指数
2
解决办法
4056
查看次数