Duplicate files during packaging of APK” build.gradle issue: Android Studio

First Recheck your build.gradle if there any duplicate dependencies added

if yes, remove those  rebuild application

if not 
add below lines of code 

android {
    packagingOptions {
        exclude ‘META-INF/LICENSE.txt’
        exclude ‘META-INF/NOTICE.txt’
    }
}

 


Flutter Questions

Android Questions

Python Questions

Java Questions