【发布时间】:2017-03-14 08:09:17
【问题描述】:
我已经为我的项目启用了 YouTube 数据 API 和 Google+ API,并在 Auth.java 中更改了 Android API 密钥我还在 Constants.java 中输入了我的播放列表信息。但是我仍然收到这个无益的错误:
com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
"code": 403,
"errors": [
{
"domain": "usageLimits",
"message": "Access Not Configured. YouTube Data API has not been used in project 608941808256 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube/overview?project=608941808256 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
"reason": "accessNotConfigured",
"extendedHelp": "https://console.developers.google.com/apis/api/youtube/overview?project=608941808256"
}
],
"message": "Access Not Configured. YouTube Data API has not been used in project 608941808256 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube/overview?project=608941808256 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
}
谁能帮帮我
【问题讨论】:
-
我也面临同样的问题。你得到解决方案了吗?有解决办法请分享
标签: android youtube youtube-data-api