I think the string comparison is case sensitive. try with exclude 'META-INF/notice.txt'
More Related Contents:
- How to manually include external aar package using Gradle for Android
- DexIndexOverflowException Only When Running Tests
- What is the difference between compileSdkVersion and targetSdkVersion?
- Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
- Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’
- Android Studio: Gradle – build fails — Execution failed for task ‘:dexDebug’
- What is the real Android Studio Gradle Version?
- How to fix “unexpected element found in ” error?
- Multidex issue with Flutter
- gradle build fails on lint task
- Could not find method android() for arguments
- Autoincrement VersionCode with gradle extra properties
- How to generate buildConfigField with String type
- Exception : AAPT2 error: check logs for details
- How to change the Android app package name when assembling with Gradle?
- How do I get a jacoco coverage report using Android gradle plugin 0.10.0 or higher?
- Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml
- Conflict with dependency ‘com.android.support:support-annotations’. Resolved versions for app (23.1.0) and test app (23.0.1) differ
- Error:Unexpected lock protocol found in lock file. Expected 3, found 0
- Android support multidex library implementation
- Configuration on demand is not supported by the current version of the Android Gradle plugin
- Failed to read PNG signature: file does not start with PNG signature
- No cached version of gradle
- How can I fix “unexpected element found in ” error?
- Android Studio Gradle DSL method not found: ‘android()’ — Error(17,0)
- Dex error On Android Studio 3.0 Beta4
- How to exclude res folder from gradle build flavours?
- How to get the build variant at runtime in Android Studio?
- com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/maven/com.fasterxml.jackson.core/jackson-databind/pom.xml
- Failed to resolve: com.android.support.design:25.4.0