GoogleJsonResponseException: 401 Unauthorized calling endpoint with OAuth2 protection
问题 I am trying to make an Android app with App Engine as mobile backend. I am getting this error when I try to call an endpoint protected by authentication: 12-21 18:58:05.120 4452-4477/com.test.myapplication W/System.err﹕ com.google.api.client.googleapis.json.GoogleJsonResponseException: 401 Unauthorized 12-21 18:58:05.120 4452-4477/com.test.myapplication W/System.err﹕ { 12-21 18:58:05.130 4452-4477/com.test.myapplication W/System.err﹕ { 12-21 18:58:05.130 4452-4477/com.test.myapplication W