Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Build project #44

Open
amodkanthe opened this issue Aug 4, 2017 · 1 comment
Open

Unable to Build project #44

amodkanthe opened this issue Aug 4, 2017 · 1 comment

Comments

@amodkanthe
Copy link

Unable to build project I am using support library version 25.3.1

After adding helpstack library getting following issue while making build

Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.

com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/LICENSE
File1: C:\Users\scandid.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpcore\4.2.5\472f0f5f8dba5d1962cb9d7739feed739a31c30d\httpcore-4.2.5.jar
File2: C:\Users\scandid.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpmime\4.2.6\270386011895bc6c7ee6496fd87511d6a98093c1\httpmime-4.2.6.jar

@pvkumar4125
Copy link

pvkumar4125 commented Aug 11, 2017

In packaging options exclude like below:
packagingOptions {
exclude 'META-INF/LICENSE'
}
then it will work

@SureshCS-50 SureshCS-50 mentioned this issue Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants