title: Using flatDirs should be avoided because it doesn't support any meta-data formats
body: <p>I'm seeing the following warning when building in Android Studio:</p>
  <blockquote>
  <p>Using flatDirs should be avoided because it doesn't support any meta-data formats</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/jSOU8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jSOU8.png" alt="enter image description here" /></a></p>
  <p>I'm integrating with an aar that is packaged locally in my <code>libs</code> directory. Is there another way to integrate without adding the following problematic block to my <code>build.gradle</code>?</p>
  <pre><code>repositories {
      flatDir {
          dirs 'libs'
      }
  }
  </code></pre>