Jump to content
Android Forum - A Community For Android Users and Enthusiasts

Search the Community

Showing results for tags 'gradle'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Android Forum
    • Android Phones
    • Android Tablets
    • Android Games And Applications
    • Members Android Themes, Wallpapers, Ringtones
    • Android Carriers
    • Android Development
    • Google TV
  • Off Topic Forums
    • Lounge
    • Introduce Yourself
  • Site Forums
    • Site Feedback
    • Site Contests
    • Old TalkAndroid Forums

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello everyone, I have faced with the issue: Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK org/apache/http/version.properties File1: /my_path/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.4.1/f5aa318bda4c6c8d688c9d00b90681dcd82ce636/httpcore-4.4.1.jar File2: /my_path/.gradle/caches/modules-2/files-2.1/com.atlassian.httpclient/atlassian-httpclient-plugin/0.23.0/4c7a2c52647a4f04b39cfcedbe20e3189318033c/atlassian-httpclient-plugin-0.23.0.jar After this I have figured out that it is because of one file in different jar-files that to be tried to put in one APK After this I have made the following: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support.constraint:constraint-layout:1.0.2' compile 'com.android.support:design:25.3.1' testCompile 'junit:junit:4.12' compile 'com.google.android.gms:play-services-maps:10.2.1' compile 'com.google.android.gms:play-services-ads:10.2.1' compile 'com.atlassian.fugue:fugue:2.6.1' { exclude 'org/apache/http/version.properties' // } compile 'org.slf4j:slf4j-simple:1.6.4' compile 'com.atlassian.jira:jira-rest-java-client-api:4.0.0' { exclude 'org/apache/http/version.properties' // } compile 'com.atlassian.jira:jira-rest-java-client-core:4.0.0' { exclude 'org/apache/http/version.properties' // } } The following error appears: Error:(50, 0) Could not find method com.atlassian.fugue:fugue:2.6.1() for arguments [[email protected]] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Open File With this error I have stuck ... Does anybody know how to fix it ?
×
×
  • Create New...