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
Android jersey client doesn't send request to the web-service
I posted a question here and now I have a new problem.
I have updated the IP-address to 10.0.2.2:8080...., rest everything is the same(Gradle dependencies,etc.).
Request doesn't get sent to the web-service and Jersey throws in some kind of…

Shankha057
- 1,296
- 1
- 20
- 38
0
votes
0 answers
Unable to resolve dependency for android system
I have just started learning Android and I was just creating the first app and I came across this.
Error:Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:26.1.0.
Error:Unable to…

Jayden Choi
- 49
- 1
- 8
0
votes
2 answers
Gradle sync failed: Could not find method Dependencies() for arguments
Full error:
Gradle sync failed: Could not find method Dependencies() for arguments [build_aewao5k4tyewg69imdynjiuxi$_run_closure1$_closure3@7c332105] on object of type org.gradle.api.internal.initialization.DefaultScriptHandler.
Top level…

PIXP
- 2,382
- 3
- 19
- 28
0
votes
2 answers
Are dependencies dangerous?
Can some dependencies for android be dangerous to use? I mean could they have malicious code in them? After all they are been written from users who we don't know

user4938227
- 588
- 1
- 5
- 10
0
votes
1 answer
No solution for: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'
Getting this: Error:(15, 21) No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
Using Android Studio 3.0.1, react-native 0.48.2.
My current build.gradle(app):
android {
compileSdkVersion 26
…

Bruno Conterato
- 23
- 1
- 5
0
votes
0 answers
DexArchiveMergerException : transformDexArchiveWithExternalLibsDexMergerForDebug
Android 3.0.1
I got problem with DexArchiveMergerException and I found out that this is a problem with libraries (implementation, compile). But I couldn't find which one to fix. I tried to clean and rebuild.
This is my build.gradle.
What could I do…

YOOZOO
- 51
- 1
- 4
0
votes
1 answer
How to remove the gradle nested dependancies, where child and siblings are same
I have few dependancies in my project where Child library is same as the sibling library. How do I remove the child? for e.g
compile - Dependencies for source set 'main'.
\--- org.springframework.security:spring-security-config:3.1.3.RELEASE
…

punkb
- 53
- 12
0
votes
1 answer
after upgrade to gradle 4.x - unable to resolve warning for JEE project
I'm unable to get rid of a warning in a gradle 4.2 build:
Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is…

wemu
- 7,952
- 4
- 30
- 59
0
votes
1 answer
Replacing project dependency with a versioned artifact in the uploadArchives task
I have a setup, libA, and libB, libB is a dependency of libA.
While using Gradle...
Once uploadArchives task is executed, both archives will be built. Each project is versioned, and the version can be retrieved from the subproject folder.
What I…

TacB0sS
- 10,106
- 12
- 75
- 118
0
votes
2 answers
Error:(26, 13) Failed to resolve: com.android.support:appcompat-v7:25.+
I am facing gradle error when I build a project (simple helloworld app) in android studio 2.3.3. I have attached here screen shot that describes error messages I am facing. Please help me how to get rid of it?
NOTE -Please tell me which code files…
user8203210
0
votes
1 answer
Gradle task dependency only for rootProject in allprojects section
I got a gradle task to build docker images for all my projects. These run fine except for the rootProject which has a dependent task to be executed before the DockerimageBuild itself. This dependency should only apply for therootProject` and not the…

Sebastian
- 1
- 2
0
votes
0 answers
Import android.support.design library partially (just ONE component)
I need only one component (TextInputLayout) of a library (android.support.design). So would be forced to add:
compile 'com.android.support:design:25.2.0'
into my project's dependencies and increased the size of my finally .apk file, more than…

Mir-Ismaili
- 13,974
- 8
- 82
- 100
0
votes
4 answers
Unable to add Gradle Dependency
I am trying to add this dependency to gradle, but I am receiving the below errors about other dependencies which I have not added in the first Place.
Errors :
Dependency I am trying to add is com.wdullaer:materialdatetimepicker:3.1.3
build.gradle…

Code_Yoga
- 2,968
- 6
- 30
- 49
0
votes
0 answers
Android Gradle conflict
I am trying to include the Facebook api into my android project. Everything was working fine before adding the Facebook sdk dependency to the gradle. I tried many solutions but they don't work. After adding the dependency the collapsibleToolbar…

Ameya Kulkarni
- 198
- 1
- 2
- 14
0
votes
1 answer
Attribute "titleTextColor" already defined with incompatible format
I have a gradle dependencies.
When I add compile 'com.heinrichreimersoftware:material-intro:1.6'
I get error after gradle sync. => Attribute "titleTextColor" already defined with incompatible format.
Do you have someone with that…

Kubínos
- 15
- 4