title: Duplicate classes from androidx and com.android.support
body: <p>I recently updated my Android Studio (and I'm pretty sure the Gradle version), and now I've been getting a bunch of errors when trying to compile my project. Here's the one that is plaguing me at the moment:</p>
  
  <pre><code>Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar (androidx.core:core:1.0.1) and classes.jar (com.android.support:support-compat:26.1.0)
  </code></pre>
  
  <p>This is followed by lots of similar ones.</p>
  
  <p>I tried removing all uses of <code>com.android.support</code> in favor of androidx (see <a href="https://developer.android.com/jetpack/androidx/migrate" rel="noreferrer">here</a> for what I was using the replace things), but <code>com.android.support</code> libraries are still being used, even when I delete the libraries (they're just remade once I try to compile again).</p>
  
  <p><a href="https://pastebin.com/raw/W7xrRzU8" rel="noreferrer">Here's</a> a link to the full error I get.</p>