to manage the versions of all compile and runtime dependencies of a project, including resolution rules for transitive dependencies with conflicting versions.
Questions tagged [gradle-dependencies]
206 questions
0
votes
1 answer
Nested aar dependencies not working
To simplify things I'm going to call the libraries I'm using library_a.aar and library_b.aar.
Here is the scenario that I'm facing.
library_a is build and pushed to maven_repository and no problems here.
library_b depends on library_a and added to…

Karim Fikani
- 356
- 3
- 23
0
votes
1 answer
Android dependency conflict. No information provided by androidDependencies task
I am attempting to break a large project into sub-projects. Mostly its working despite the many bug related to dependency handling in grade, however Ive run across a conflict, that I can't get a graph to resolve.
What I expect is to be abel to get a…

Brill Pappin
- 4,692
- 1
- 36
- 36
0
votes
1 answer
Gradlew doesn't add dependencies to my external libraries(class path) in IDEA 16.2
tl;dr; adding adding dependencies to build.gradle downloads it fine but doesn't add it to the classpath/external libraries in idea.
Hi guys
Im new to developing webapps in java, and im trying to depend on a few jars on mvnrepository.com, the only…

DenLilleMand
- 3,732
- 5
- 25
- 34
0
votes
1 answer
Gmail API for Android SDK 21
I am trying to develop using the Gmail API for Android for devices with API 21.
In this tutorial: https://developers.google.com/gmail/api/quickstart/android
It says I need to have:
Android SDK packages for API 23 or later, including the latest…

Tal Mantelmakher
- 994
- 1
- 7
- 23
0
votes
3 answers
Error in gradle when adding android support library
I'm trying to make an app using the android support library, so if I start a new project with a basic activity, then add the android support library using the dependencies menu, I get this error:
This support library should not use a different…

user2320239
- 1,021
- 2
- 18
- 43
0
votes
0 answers
gradle not sync in android studio by Jcenter()
In my Android studio when I want to sync online gradle with JCenter() in gradle it wont sync and failed that you are behind proxy !! and I never use proxy but if I use maven { url 'http://repo1.maven.org/maven2'} instead of JCenter() in gradle…

mozhi jafr
- 69
- 2
- 10
0
votes
1 answer
Error in NavigationView methods after updating gradle dependencies
I have this (previously) functioning code:
if (navigationView.getHeaderCount() > 0) {
navigationView.removeHeaderView(navigationView.getHeaderView(0));
}
After updating gradle dependencies, I'm getting the following error:
Which is…

RominaV
- 3,335
- 1
- 29
- 59
0
votes
1 answer
Import Android pickphotos
We are trying to import the android-pickphotos project (https://github.com/crosswall/Android-PickPhotos) in order to use the photos picker but we are getting some troubles. We haven't found the gradle module anywhere and, when trying to import the…

FVod
- 2,245
- 5
- 25
- 52
-1
votes
1 answer
Build Jar file that download its dependencies automatically
I am trying to build a Java project that I am going to eventually build into an executable Jar file.
My Java project has some dependencies which are not packed inside my Jar file. So how can I make it so, so that when I run my jar file it will…
-1
votes
2 answers
Why apps keep crashing when running on Emulator or Device Android API 23?
I want to develop an app in Android API 23 (Marshmallow) but i don't know why my app keep crashing when I run on device or emulator. I don't get any compile error so far.
At first, i think the problem is on the dependencies and gradle configuration,…

Dewz
- 1
- 3
-2
votes
2 answers
How to delete / remove a Library programmatically?
I've integrated some library from the third party into my android app.
They use background service with the location, but it caused java.lang.IllegalStateException error since Android 8 has updated the background location limits.
I've tried to…

Lambert
- 1
- 1