title: Auto-Value-Gson : Cannot resolve symbol GsonTypeAdapter
body: <p>I have so far implemented a <code>Parcelable</code> class with <code>AutoValue</code> and now I'd like to be able to deserialize it <code>Gson</code>.</p>
  
  <p>So I have found the <code>AutoValue</code> Extension named <a href="https://github.com/rharter/auto-value-gson" rel="nofollow noreferrer">auto-value-gson</a> and I have tried to implement a class just like the examples on the github page.</p>
  
  <p>So my class changed to : </p>
  
  <pre><code>@AutoValue
  public abstract class UploadPhotoResponse implements Parcelable{
      public abstract String getError();
      public abstract UploadPhotoResponseNestedItem getPost();
  
      public static Builder builder() {
          return new AutoValue_UploadPhotoResponse.Builder();
      }
  
      @AutoValue.Builder
      public static abstract class Builder {
         public abstract Builder setError(String error);
         public abstract Builder setPost(UploadPhotoResponseNestedItem post);
  
         public abstract UploadPhotoResponse build();
      }
  
  // This is the new code I have added 
     public static TypeAdapter&lt;UploadPhotoResponse&gt; typeAdapter(Gson gson) {      
          return new AutoValue_UploadPhotoResponse.GsonTypeAdapter(gson);
      }
  
  }
  </code></pre>
  
  <p>but I'm getting error : "Cannot resolve symbol <code>GsonTypeAdapter</code>"</p>
  
  <p>I'm using the following dependencies (just in case something is missing) :</p>
  
  <pre><code>provided 'com.google.auto.value:auto-value:1.3'
  apt 'com.google.auto.value:auto-value:1.3'
  apt 'com.ryanharter.auto.value:auto-value-parcel:0.2.5'
  apt 'com.ryanharter.auto.value:auto-value-gson:0.4.5'
  provided 'com.ryanharter.auto.value:auto-value-gson:0.4.5'
  annotationProcessor 'com.gabrielittner.auto.value:auto-value-with:1.0.0'
  </code></pre>