title: Android - Activity uses or overrides a deprecated API
body: <p>I have literally created a brand new Android Project on the latest Android Studio. The first thing I did was to add the `Realm' library to the project by adding the following to the gradle file:</p>
  
  <pre><code>compile 'io.realm:realm-android:0.80.3'
  </code></pre>
  
  <p>If I try to compile, I get the following error:</p>
  
  <pre><code>Note: C:\....\MainActivity.java uses or overrides a deprecated API.
  </code></pre>
  
  <blockquote>
    <p>Origin 2:
    C:\Users\Usmaan.gradle\caches\modules-2\files-2.1\io.realm\realm-android\0.80.3\7979d05ba7b919c53766bf98e31aaf0e9feb0590\realm-android-0.80.3.jar Error:duplicate files during packaging of APK
    C:...\app\build\outputs\apk\app-debug-unaligned.apk  Path in archive:
    META-INF/services/javax.annotation.processing.Processor   Origin 1:
    C:\Users\Usmaan.gradle\caches\modules-2\files-2.1\com.jakewharton\butterknife\6.1.0\63735f48b82bcd24cdd33821342428252eb1ca5a\butterknife-6.1.0.jar
    You can ignore those files in your build.gradle:  android {<br>
    packagingOptions {
          exclude 'META-INF/services/javax.annotation.processing.Processor'     } Error:Execution failed for task ':app:packageDebug'.</p>
    
    <blockquote>
      <p>Duplicate files copied in APK META-INF/services/javax.annotation.processing.Processor   File 1:
      C:\Users\Usmaan.gradle\caches\modules-2\files-2.1\com.jakewharton\butterknife\6.1.0\63735f48b82bcd24cdd33821342428252eb1ca5a\butterknife-6.1.0.jar
        File 2:
      C:\Users\Usmaan.gradle\caches\modules-2\files-2.1\io.realm\realm-android\0.80.3\7979d05ba7b919c53766bf98e31aaf0e9feb0590\realm-android-0.80.3.jar    }</p>
    </blockquote>
  </blockquote>
  
  <p>Any ideas?</p>