title: proguard-android-optimize build failed
body: <p>i am trying to disable all logs </p>
  
  <pre><code>-assumenosideeffects class android.util.Log {
  
  public static *** v(...);
  public static *** i(...);
  public static *** w(...);
  public static *** d(...);
  public static *** e(...);
  </code></pre>
  
  <p>}</p>
  
  <pre><code> -assumenosideeffects class android.util.Log { *; }
  </code></pre>
  
  <p>but when i set </p>
  
  <pre><code>          proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  </code></pre>
  
  <p>build faild
  error</p>
  
  <pre><code>    UNEXPECTED TOP-LEVEL EXCEPTION:
  Error:java.lang.InterruptedException: Too many errors
  at com.android.dx.command.dexer.Main.processAllFiles(Main.java:600)
  ... 4 more
  Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
  </code></pre>
  
  <blockquote>
    <p>com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2</p>
  </blockquote>
  
  <p>with this 
               proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
   its  build but logs are visible </p>
  
  <p>The recommended
  solution is to recompile the class from source, using an up-to-date compiler
  and without specifying any "-target" type options. The consequence of ignoring
  this warning is that reflective operations on this class will incorrectly
  indicate that it is <em>not</em> an inner class.</p>
  
  <p>Uncaught translation error: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type java.lang.Object using a local variable of type int. This is symptomatic of .class transformation tools that ignore local variable information.</p>