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.

206 questions
0
votes
2 answers

Android dependency has different version for the compile and runtime classpath

I am using a lot of Firebase related libraries in my project. Upon syncing, I am facing the following error. Android dependency 'com.google.firebase:firebase-iid' has different version for the compile (17.0.3) and runtime (17.1.1) classpath. You …
thedarkpassenger
  • 7,158
  • 3
  • 37
  • 61
0
votes
1 answer

implement 'com.readystatesoftware.sqliteasset:sqliteassethelper:+' is not working

I have occurred the above mentioned error and I could not found any answer from internet as well as several books. If any one can give me a solution, it will be very help for me for make my SQLite database 1) I changed the word of 'implementation'…
ruwan liyanage
  • 419
  • 2
  • 11
  • 24
0
votes
0 answers

Support libraries conflicting and giving dex merger issue in android

Is there any way to find out which libraries are conflicting and which version of libraries should be used so as to avoid dex merger issue? Error obtained is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task…
ajay
  • 886
  • 2
  • 12
  • 27
0
votes
1 answer

Why does bringing in a sibling module change the dependency rules/order of that module in gradle 5?

I have two modules: base-lib service The base-lib has some Spring Boot/Security dependencies as well as some Azure ones. The Azure one needs a specific version of nimbusds so I have that dependency set to a specific version (5.64.4). When I build…
Don Rhummy
  • 24,730
  • 42
  • 175
  • 330
0
votes
2 answers

Failed to resolve: com.android.support.cardview-v7:28.0.0:

I am getting the above error when trying to add both the card view and recycler view dependencies to my app. Below are my dependencies in my app level build.gradle: dependencies { implementation fileTree(include: ['*.jar'], dir:…
0
votes
1 answer

Android dependency conflict with jar embedded in aar

I am using an Android library project by importing the aar as an app module. The app compiles fine in debug mode but when I try to compile in release I get the following error : Error: Program type already present:…
d370urn3ur
  • 1,736
  • 4
  • 17
  • 24
0
votes
1 answer

Custom Metadata in Gradle dependency descriptor

This is how i have added dependencies in my build.gradle // Dependency Versioning apply plugin: 'io.spring.dependency-management' dependencyManagement { imports { mavenBom…
Arun
  • 3,440
  • 11
  • 60
  • 108
0
votes
1 answer

android support libraries must use exact same version?

I'm trying to import the following library: implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0' but I get the following error when I sync: All com.android.support libraries must use the exact same version …
Isaac Perez
  • 570
  • 2
  • 15
  • 31
0
votes
1 answer

Android Studio, mismatch support library versions error, but don't know where it is being specified at

Project in Android Studio, and getting this error: com.android.support libraries must use the exact same version specification. Found Versions com.android.support:support-compat:25.2.0 and com.android.support:app-compat-v7:22.2.1 The problem is…
0
votes
3 answers

Unresolved Dependencies: Failed to resolve: com.afollestad:material-dialogs

After importing an old project (2015) to Android Studio. I got some Gradle's issue, so I made changes: upgraded the Gradle plugin to 4.4, changed build.gradle, and also the dependencies from compile to implementation. But I couldn't find any…
0
votes
1 answer

See if newer versions of artifacts in Gradle build exist in repository

For artifact dependencies used by a Gradle build, is there any way to see if newer versions of those artifacts exist in any repository used by that build? Also, what algorithm does such a tool used to determine "newer"?
XDR
  • 4,070
  • 3
  • 30
  • 54
0
votes
0 answers

Gradle downloads transitive dependencies, but shows compile error

I published a jar in my repo, lets call it A.jar, which generated following dependency in pom: org.json json 20180130 compile In…
Mayday
  • 4,680
  • 5
  • 24
  • 58
0
votes
1 answer

What is the alternative of the compile dependencies for Volley library - in Android

As I used Volley Lib. in my project with dependencies compile 'com.mcxiaoke.volley:library:1.0.19' this dependency allow me to use RequestQueue requestQueue; which is not allowed in google Volley lib dependency. But Android Studio build.gradle…
Animesh Bhardwaj
  • 709
  • 4
  • 14
0
votes
1 answer

Issue with app.iml file

I created a new empty project in Android Studio in order to follow a youtube tutorial (https://www.youtube.com/watch?v=Xn0tQHpMDnM). About 10% of the way into the tutorial my project would no longer compile - it did not like the following line in my…
Dean Blakely
  • 3,535
  • 11
  • 51
  • 83
0
votes
0 answers

Can't load snapshot dependency in maven repository

Dependency: group: io.github.waterfallmc, name: waterfall-api, version: 1.12-SNAPSHOT Repository: https://repo.destroystokyo.com/repository/maven-snapshots/ (You can check that the dependency is there) In build.gradle: Repository: maven { url…