2013-01-08 69 views
0

我已經在android中從here實現谷歌日曆API。谷歌日曆api訪問未在android中配置

採樣工作正常,但身份驗證問題是有

com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden 
{ 
"code": 403, 
"errors": [ 
{ 
    "domain": "usageLimits", 
    "message": "Access Not Configured", 
    "reason": "accessNotConfigured" 
} 
], 
"message": "Access Not Configured" 
} 

我也啓用日曆API

enter image description here

我缺少任何配置?

幫助!!謝謝。

+0

我發現線索從http://samples.google-api-java-client.googlecode.com/hg/calendar-android-sample/instructions.html –

回答

2

解決方案: 只需添加客戶端ID(包名+ SHA1指紋)... 對於SHA1指紋下載this

enter image description here enter image description here