Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [gradle]

Gradle is a project build automation tool that uses a Groovy DSL. Gradle build scripts support Maven and Ivy repositories as well as plain file system for dependency management.

2 votes
3 answers
3k views

Plugin [id: 'com.android.application'] was not found in any of the following sources: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)

When I created flutter project on vs code this problem is shown Plugin [id: 'com.android.application'] was not found in any of the following sources: Gradle Core Plugins (plugin is not in 'org.gradle'...
10 votes
6 answers
45k views

Gradle Core Plugins (plugin is not in 'org.gradle' namespace)

What is causing this build error: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace) - Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android....
0 votes
1 answer
130 views
+50

What gradle entries are required for implementing KSP and Room in a Kotlin Multiplatform

I am in the process of converting a kotlin application to kotlin multiplatform (anroid only for now to get through initial configuration) with room. This included moving to a libs.versions.toml file ...
2 votes
2 answers
3k views

Duplicate class org.xmlpull.v1.XmlPullParser Android

i have a hudge problem while integrating a new library on Android App. When i tried to implementation 'br.com.stone:stone-sdk:3.8.2' on Gradle (app module) and sync project, android shows a new issue ...
2 votes
0 answers
25 views

Gradle does not see log field through @Log4j2 annotation inside lombok in InteliJ

I have a class @Log4j2 public class TestClass { public void doSmth() { log.info("doSmth"); } } When I try to compile my code using gradle (tap on "assemble" button ...
14 votes
6 answers
41k views

How to fix this error: java.lang.NoSuchMethodError: 'java.lang.AutoCloseable org.mockito.MockitoAnnotations.openMocks(java.lang.Object)'

So I am getting this error in my Spring boot Gradle project: 'java.lang.AutoCloseable org.mockito.MockitoAnnotations.openMocks(java.lang.Object)' java.lang.NoSuchMethodError: 'java.lang....
1 vote
1 answer
56 views

Building gradle app fails when com.google.firebase:firebase-bom is updated to 32.6.0

I'm trying to upgrade com.google.firebase:firebase-bom from version 29.0.0 to 32.6.0 and I ran into this error: /Users/macuser/.gradle/caches/transforms-3/467bb9d3066a57ac5f94cf19b169a6ba/transformed/...
1 vote
2 answers
37 views

how to solve ':app:compileFlutterBuildDebug' in flutter build apk

Error when building the project with flutter build apk command I was trying to build my Flutter app and this error shows up: Unhandled exception: RangeError (offset): Invalid value: Not in inclusive ...
0 votes
1 answer
18 views

Using the GitHub Repository as a Gradle Dependency in Android project

I have forked a project from github, modified it and now I want to use my modified version as dependency in my project. Like this: implementation("com.github.my_user_name:library_name:master-...
22 votes
5 answers
30k views

Class path contains multiple SLF4J bindings error

I get this error when tring to run gradle build i understand it a versions conflict but not sure how to solve it and which version to exclude... gradle dependency tree is: SLF4J: Class path ...
46 votes
4 answers
24k views

Android studio gradle flavors not showing in Build Variants

from what I understand, Android Studio is supposed to show the whole matrix of build variants and flavors in the "Build Variants" panel. I've created an empty project, with the following build.gradle....
0 votes
1 answer
9 views

Create Gradle wrapper without installing Gradle

I want to use Gradle, but I do not want to install it. It is possible to compile a project using its Gradle wrapper. If you already have a Gradle project, you can initialize a new project using the ...
70 votes
6 answers
11k views

Manifest merger failed with AGP 8.3.0

I'm trying to upgrade my project to AGP 8.3.0 but I'm getting the error: Attribute property#android.adservices.AD_SERVICES_CONFIG@resource value=(@xml/ga_ad_services_config) from [com.google.android....
1 vote
1 answer
22 views

Why cant a Kotlin library Module depend on an Android Library Module?

I am trying to have this dependency graph: presentation (Android Module) -> domain (Kotlin Module) -> data (Android module) And whenever I make domain to depend on data implementation(projects....
0 votes
1 answer
14 views

Execution of Gradle Tasks and find out why are they executed

I'm currently doing a Udemy Course to learn Kotlin and I've a Question about Gradle and Tasks. I've tried HILT and had to add kapt to my Project (empty project with jetpack-compose). My app/build....

15 30 50 per page
1
2 3 4 5
3500