title: proguard can't find referenced class
body: <p>I m trying to run proguard on my release apk but I get lots of "can't find referenced class" error in my console.</p>
  
  <pre><code>[2014-05-06 17:35:05 - DesiDime] Warning: library class android.net.http.AndroidHttpClient extends or implements program class org.apache.http.client.HttpClient
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.http.protobuf.ProtoHttpContent: can't find referenced class com.google.protobuf.MessageLite
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.http.protobuf.ProtoHttpContent: can't find referenced class com.google.protobuf.MessageLite
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.http.protobuf.ProtoHttpContent: can't find referenced class com.google.protobuf.MessageLite
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.http.protobuf.ProtoHttpContent: can't find referenced class com.google.protobuf.MessageLite
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.http.protobuf.ProtoHttpContent: can't find referenced class com.google.protobuf.MessageLite
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.http.protobuf.ProtoHttpContent: can't find referenced class com.google.protobuf.MessageLite
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.http.protobuf.ProtoHttpContent: can't find referenced class com.google.protobuf.MessageLite
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.json.gson.GsonFactory: can't find referenced class com.google.gson.stream.JsonReader
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.json.gson.GsonFactory: can't find referenced class com.google.gson.stream.JsonReader
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.json.gson.GsonFactory: can't find referenced class com.google.gson.stream.JsonWriter
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.json.gson.GsonFactory: can't find referenced class com.google.gson.stream.JsonWriter
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.json.gson.GsonGenerator: can't find referenced class com.google.gson.stream.JsonWriter
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.json.gson.GsonGenerator: can't find referenced class com.google.gson.stream.JsonWriter
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.json.gson.GsonGenerator: can't find referenced class com.google.gson.stream.JsonWriter
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.json.gson.GsonGenerator: can't find referenced class com.google.gson.stream.JsonWriter
  [2014-05-06 17:35:05 - DesiDime] Warning: com.google.api.client.json.gson.GsonGenerator: can't find referenced class com.google.gson.stream.JsonWriter
  </code></pre>
  
  <p>Below is my proguard-project.txt file , taken from <a href="http://proguard.sourceforge.net/index.html#manual/examples.html" rel="nofollow noreferrer">here</a></p>
  
  <pre><code>-injars      bin/classes
  -injars      libs
  -outjars     bin/classes-processed.jar
  -libraryjars /home/vihaan/Downloads/adt-bundle-linux-x86-20131030/sdk/platforms/android-19/android.jar
  
  -dontpreverify
  -repackageclasses ''
  -allowaccessmodification
  -optimizations !code/simplification/arithmetic
  -keepattributes *Annotation*
  
  -keep public class * extends android.app.Activity
  -keep public class * extends android.app.Application
  -keep public class * extends android.app.Service
  -keep public class * extends android.content.BroadcastReceiver
  -keep public class * extends android.content.ContentProvider
  
  -keep public class * extends android.view.View {
      public &lt;init&gt;(android.content.Context);
      public &lt;init&gt;(android.content.Context, android.util.AttributeSet);
      public &lt;init&gt;(android.content.Context, android.util.AttributeSet, int);
      public void set*(...);
  }
  
  -keepclasseswithmembers class * {
      public &lt;init&gt;(android.content.Context, android.util.AttributeSet);
  }
  
  -keepclasseswithmembers class * {
      public &lt;init&gt;(android.content.Context, android.util.AttributeSet, int);
  }
  
  -keepclassmembers class * extends android.content.Context {
     public void *(android.view.View);
     public void *(android.view.MenuItem);
  }
  
  -keepclassmembers class * implements android.os.Parcelable {
      static ** CREATOR;
  }
  
  -keepclassmembers class **.R$* {
      public static &lt;fields&gt;;
  }
  
  -keepclassmembers class * {
      @android.webkit.JavascriptInterface &lt;methods&gt;;
  }
  </code></pre>
  
  <p>I have uncommented this line in my project.properties file</p>
  
  <pre><code>proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
  </code></pre>
  
  <p>My libs directory contains the required libraries</p>
  
  <p><img src="https://i.stack.imgur.com/I9lzN.png" alt="enter image description here"></p>
  
  <p>I don't understand why I'm getting these errors ?</p>