title: AbstractGoogleClientRequest and GoogleClientRequestInitializer class not found in com.google.api-client:google-api-client-android:2.0.0
body: <p>My Android app with Cloud Endpoints says these classes do not exist</p>
  <pre><code>import com.google.api.client.googleapis.services.AbstractGoogleClientRequest;
  import com.google.api.client.googleapis.services.GoogleClientRequestInitializer;
  </code></pre>
  <p>when using any version higher than 1.31.0 of the following import</p>
  <pre><code>implementation 'com.google.api-client:google-api-client-android:1.31.0'
  </code></pre>
  <p>The latest version is <a href="https://mvnrepository.com/artifact/com.google.api-client/google-api-client-android" rel="nofollow noreferrer">2.0.0</a> but even 1.32.1 has the issue. Anything that is 1.31.0 or lower works.</p>
  <p>This is what my code looks like (taken from this <a href="https://github.com/GoogleCloudPlatform/android-docs-samples/blob/8fb8f5be86234a5d9cf364da11079b4496c0c0ae/endpoints-frameworks/v2/app/src/main/java/com/example/migration/endpoints/app/MainActivity.java" rel="nofollow noreferrer">link</a>):</p>
  <pre><code>    if (myApiService == null) {  // Only do this once
          MyApi.Builder builder = new MyApi.Builder(AndroidHttp.newCompatibleTransport(),
                  new AndroidJsonFactory(), null)
                  .setRootUrl(&quot;http://YOUR-PROJECT-ID.appspot.com/_ah/api/&quot;)
                  .setGoogleClientRequestInitializer(new GoogleClientRequestInitializer() {
                      @Override
                      public void initialize(AbstractGoogleClientRequest&lt;?&gt; abstractGoogleClientRequest) throws IOException {
                          abstractGoogleClientRequest.setDisableGZipContent(true);
                      }
                  });
          // end options for devappserver
          myApiService = builder.build();
      }
  
      try {
          return myApiService.sayHi(params[0]).execute().getData();
      } catch (IOException e) {
          return e.getMessage();
      }
  </code></pre>
  <p>Is there a different way to be doing this in the new versions or is something else going on?</p>