Questions tagged [gradle-dependencies]

to manage the versions of all compile and runtime dependencies of a project, including resolution rules for transitive dependencies with conflicting versions.

171 questions
2
votes
1 answer

Bitmovin and Exoplayer conflicting dependencies

I am using both Exoplayer and Bitmovin libraries in my project compile "com.google.android.exoplayer:exoplayer:$rootConfiguration.exoPlayerVersion" compile "com.bitmovin.analytics:collector:$rootConfiguration.bitmovinVersion" and: exoPlayerVersion…
2
votes
6 answers

Could not find method implementation() for arguments [com.google.firebase:firebase-ml-model-interpreter:15.0.0]

I am trying to open existing android project in Android Studio and gradle cannot build the app and it shows the error as: Error : strong text Could not find method implementation() for arguments…
2
votes
2 answers

Android Studio dependencies conflict (Program type already present)

I've had a RecyclerView in my project, and I can't build it. There is my build.gradle file : apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applicationId "app_name" minSdkVersion 27 …
MMartinenq
  • 43
  • 5
2
votes
1 answer

Android - Gradle - How to download transitive dependencies for an included jar

I have included a jar in my android project, build.gradle as implementation files('libs/dependency_a.jar'); But there are dependencies with are needed by this jar file, which can be downloaded from the internet but don't get downloaded while…
2
votes
1 answer

How to resolve Unable to merge dex

When I was compile my application so I got below error like, Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex I add the …
2
votes
1 answer

How to export dependencies in android library

Since version 3.0.0, the Android Plugin for Gradle allows you to export a module's dependencies to other modules. As I understand it, this means that in my android library module I should be able to declare a dependency using api
2
votes
1 answer

How to tell Gradle to reuse dependencies in a Continuous Integration template system?

We have a project template, cleaned, without being compiled it only needs 5mb of disk space. On our Continuous Integration system, the template is being copied for each of our projects and after that, it's being changed by a script which prepares…
2
votes
1 answer

after upgrading Android studio 3.0, dependency error occurred on externalNativeBuildRelease

on 2.3.3, the build works well, however, after upgrading 3.0.0 this problem occurred. Is there anyone who can help me? The reason is that libSDL2.so is not generated, however, I don't understand why SDLActivity module start to build before…
2
votes
1 answer

How to check available libraries and version numbers from https://maven.google.com

Ever since Google hosted its libraries in the new Google Maven Repository I'm having trouble keeping my dependencies up to date. How can I check which libraries are availalbe in maven.google.com? In addition how can I see all the available version…
ThanosFisherman
  • 4,789
  • 7
  • 30
  • 50
2
votes
0 answers

Android Studio Build Time with Gradle dependency vs Jar dependency

I am working in a product in which we are using 4 external libraries. All of these libraries were being included through External Jars. Build time with the Jar dependencies were about 10 minutes. I changed Jar dependencies with the Gradle…
2
votes
2 answers

Android gradle: Sharing dependencies between product flavors

I have 3 product flavors (flavor1, flavor2, flavor3) in my app. flavor1 and flavor2 share some of the dependencies related to ads. Is there a way to bundle the ad related dependencies to a gradle dimension or configuration and add that to flavor1…
2
votes
2 answers

Gradle dependency project test-jar

I have a multi-module gradle project and I want to make use of some of the test classes from the shared module in my dependent module. dependencies { compile project(':shared-module') testCompile project(':shared-module'), classifier:…
masstroy
  • 862
  • 1
  • 8
  • 22
2
votes
1 answer

Semantics to express gradle dependencies

I see that I can specify gradle dependencies like this: dependencies { compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.1' compile 'com.fasterxml.jackson.core:jackson-core:2.8.1' compile…
manfcas
  • 1,855
  • 6
  • 28
  • 46
2
votes
0 answers

Gradle dependencies - range matching

I am trying to add the following dependency to my Gradle build file: compile 'org.eclipse.scout.sdk.deps:org.eclipse.core.resources:3.10.+' This package depends on a lot of other packages, that are located in the same repository. The problem is…
r02
  • 151
  • 1
  • 7
2
votes
1 answer

transformClassesWithJarMergingForDebug TransformException

After updating to android studio 2.1 and while i tried to use new gradle my project started crashing with kinda that: Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.> …
1 2
3
11 12