次のコードは、最新の Google クライアント API に更新した後、エラーをスローしています
catch (IOException e) {
if (e instanceof HttpResponseException) {
HttpResponse response = ((HttpResponseException) e)
.getResponse();//The error is here
int statusCode = response.getStatusCode();
getResponse でThe method getResponse() is undefined for the type HttpResponseException
、以前のバージョンの API にロールバックしようとしたが無駄に終わったというエラーがスローされます。