title: Proguard returned with error code 1 error when signing apk with many external libraries
body: <p>I am using Eclipse for Mac.
  When I want to export a signed apk I get a "Proguard returned with error code 1. See console" error.</p>
  
  <ul>
  <li>I have these 2 files in my project root folder:
  "proguard-android.txt" and "project.properties"</li>
  <li><p>Inside project.properties I have:</p>
  
  <p>target=android-17
  proguard.config=proguard-project.txt
  android.library.reference.1=../google-play-services_lib
  android.library.reference.2=../FacebookSDK</p></li>
  </ul>
  
  <p>Among many other warnings I get when I try to create a signed apk, I get:</p>
  
  <pre><code>com.my.app.va.debug.ConfigureLog4j: can't find referenced class de.mindpipe.android.logging.log4j.LogConfigurator
  
  com.my.app.va.debug.HockeyAppHelper: can't find referenced class net.hockeyapp.android.ExceptionHandler
  </code></pre>
  
  <p>I already put these lines inside "proguard-android.txt" , but the errors persist: </p>
  
  <pre><code>-keep public class de.mindpipe.android.logging.**
  -dontwarn de.mindpipe.android.logging.**
  -keep public class net.hockeyapp.**
  -dontwarn net.hockeyapp.**
  </code></pre>
  
  <p>What could I be doing wrong?</p>
  
  <p><strong>UPDATE:</strong>
  I have changed the filename from "proguard-android.txt" to "proguard-project" and added this to my Proguard, and the "referenced class" error messages are gone:</p>
  
  <pre><code>-dontwarn de.mindpipe.android.**
  -keep public class de.mindpipe.android.**
  
  -dontwarn net.hockeyapp.android.**
  -keep public class net.hockeyapp.android.**
  </code></pre>
  
  <p>Neverthless... Is this an actual solution? or, am I just hiding the problem?</p>
  
  <p><em>Other warnings still persist:</em></p>
  
  <pre><code>Warning: com.facebook.widget.UserSettingsFragment: can't find referenced method 'android.support.v4.app.FragmentActivity getActivity()' in class com.facebook.widget.UserSettingsFragment
  Warning: there were 138 unresolved references to program class members.
  </code></pre>