title: Program type already present: android.support.v4.app.INotificationSideChannel$Stub$Proxy
body: <p>I know it could look like <a href="https://stackoverflow.com/questions/50289355/google-material-design-library-error-program-type-already-present-android-suppo">This Question</a> but I could not fix it with the solution proposed and I could not comment on it too.
  The Error is :</p>
  
  <pre><code>Program type already present: 
  android.support.v4.app.INotificationSideChannel$Stub$Proxy
  Message{kind=ERROR, text=Program type already present: 
  android.support.v4.app.INotificationSideChannel$Stub$Proxy, sources=[Unknown 
  source file], tool name=Optional.of(D8)}
  </code></pre>
  
  <p>I'm trying to create an app using firebase there's is my gradle file</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 28
      defaultConfig {
      minSdkVersion 27
      targetSdkVersion 28
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  aaptOptions {
      noCompress "tflite"
  }
  }
  
  dependencies {
  implementation fileTree(include: ['*.jar'], dir: 'libs')
  implementation 'androidx.appcompat:appcompat:1.0.0-rc01'
  implementation 'androidx.constraintlayout:constraintlayout:1.1.2'
  testImplementation 'junit:junit:4.12'
  androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
  androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
  implementation 'com.google.android.material:material:1.0.0-rc01'
  implementation 'androidx.cardview:cardview:1.0.0-rc01'
  
  // ML Kit dependencies
  implementation 'com.google.firebase:firebase-core:16.0.1'
  implementation 'com.google.firebase:firebase-ml-vision:17.0.0'
  }
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>I pass over every file to be sure the import was good, I Also add </p>
  
  <pre><code>android.useAndroidX = true
  android.enableJetifier = false
  </code></pre>
  
  <p>There's my Project Gradle file :</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
  
  repositories {
      google()
      jcenter()
  }
  dependencies {
      classpath 'com.android.tools.build:gradle:3.1.4'
      classpath 'com.google.gms:google-services:4.1.0'
  
  
      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
  }
  }
  
  allprojects {
  repositories {
      google()
      jcenter()
  }
  }
  
  task clean(type: Delete) {
  delete rootProject.buildDir
  }
  </code></pre>
  
  <p>I use Android Studio 3.1.4</p>