title: Program type already present: android.support.v4.app.BackStackRecord$Op
body: <p>I got this error every time I try to run my android game:</p>
  
  <pre><code>Program type already present: android.support.v4.app.BackStackRecord$Op
  Message{kind=ERROR, text=Program type already present: android.support.v4.app.BackStackRecord$Op, sources=[Unknown source file], tool name=Optional.of(D8)}
  </code></pre>
  
  <p>this is my <strong>build.gradle (app)</strong></p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 27
      buildToolsVersion "27.0.3"
  
      defaultConfig {
          applicationId "com.play.flyaway"
          minSdkVersion 21
          targetSdkVersion 27
  
          ndk {
              moduleName "player_shared"
          }
      }
      sourceSets {
          main {
              jni.srcDirs = []
          }
      }
      buildTypes{}
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
  }
  
  dependencies {
      implementation 'com.google.android.gms:play-services:12.0.1'
      implementation files('libs/dagger-1.2.2.jar')
      implementation files('libs/javax.inject-1.jar')
      implementation files('libs/nineoldandroids-2.4.0.jar')
      implementation files('libs/support-v4-19.0.1.jar')
  }
  </code></pre>
  
  <p><strong>build.gradle (Project)</strong></p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  buildscript {
      repositories {
          jcenter()
          google()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.1.1'
      }
  }
  
  allprojects {
      repositories {
          jcenter()
          google()
      }
  }
  </code></pre>
  
  <p>Any solution to this problem? I already try everything I know of course, but I'm new on this, I really don't know what cause the error apart from what the console says</p>