これはよくある問題だと思います。このドキュメントでさえそれを指摘しています: http://samples.google-api-java-client.googlecode.com/hg/tasks-android-sample/instructions.html
https://cloud.google.com/console/start/api?id=tasksでAndroid アプリのプロジェクトを作成し、Tasks API を有効にしました。Android 用のプロジェクト内で、SHA1 キーとパッケージの名前 (:com.gruszczy.eisenhower) を設定しました。同じパッケージ名が中にありAndroidManifest.xml
ます。それでも、アプリを実行しようとすると、以下のエラーが発生します。私が欠けているもの、またはこれをどうにかしてデバッグする方法を知っている人はいますか?
11-05 23:21:43.841 6060-6093/com.gruszczy.eisenhower W/System.err﹕ com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
11-05 23:21:43.841 6060-6093/com.gruszczy.eisenhower W/System.err﹕ {
11-05 23:21:43.841 6060-6093/com.gruszczy.eisenhower W/System.err﹕ "code": 403,
11-05 23:21:43.841 6060-6093/com.gruszczy.eisenhower W/System.err﹕ "errors": [
11-05 23:21:43.849 6060-6093/com.gruszczy.eisenhower W/System.err﹕ {
11-05 23:21:43.849 6060-6093/com.gruszczy.eisenhower W/System.err﹕ "domain": "usageLimits",
11-05 23:21:43.849 6060-6093/com.gruszczy.eisenhower W/System.err﹕ "message": "Access Not Configured",
11-05 23:21:43.849 6060-6093/com.gruszczy.eisenhower W/System.err﹕ "reason": "accessNotConfigured"
11-05 23:21:43.849 6060-6093/com.gruszczy.eisenhower W/System.err﹕ }
11-05 23:21:43.849 6060-6093/com.gruszczy.eisenhower W/System.err﹕ ],
11-05 23:21:43.849 6060-6093/com.gruszczy.eisenhower W/System.err﹕ "message": "Access Not Configured"
11-05 23:21:43.849 6060-6093/com.gruszczy.eisenhower W/System.err﹕ }
11-05 23:21:43.857 6060-6093/com.gruszczy.eisenhower W/System.err﹕ at com.googl