title: Why do i receive duplicate entry error whenever I generate a singned APK?
body: <p>I am trying to generate a singned APK for my app and but I don't know  what's wrong in my build files, I receive this error message in the message view:
  Cause:: duplicate entry :NOTICE
  I have searched a lot to understand why this is happening but in vain</p>
  <p>Any help will be very appreciated :)</p>
  <p>Here is my build (Module:app) :</p>
  <pre><code> apply plugin: 'com.android.application'
  
    android {
  compileSdkVersion 29
  buildToolsVersion &quot;29.0.2&quot;
  
  defaultConfig {
      applicationId &quot;com.example.naturesounds&quot;
      minSdkVersion 16
      targetSdkVersion 29
      versionCode 1
      versionName &quot;1.0&quot;
  
      testInstrumentationRunner &quot;androidx.test.runner.AndroidJUnitRunner&quot;
  }
  
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
      }
   }
  }
  
  dependencies {
  implementation fileTree(dir: 'libs', include: ['*.jar'])
  
  implementation 'androidx.appcompat:appcompat:1.0.2'
  implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  testImplementation 'junit:junit:4.12'
  androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  implementation 'com.google.android.material:material:1.0.0'
  implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  
  implementation 'com.google.android.gms:play-services-ads:19.4.0'
  
  implementation 'com.android.tools.lint:lint-gradle:26.6.1'
  }
  </code></pre>
  <p>And here is my build (project) :</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.6.1'
      
  
      // 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>Update:
  I have look in my project libraries and found many NOTICE files , are they might causing this problem?</p>