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.
gradle
52,424
questions
1
vote
0
answers
13
views
What is the difference between using "module" versus "group" and "name" in toml files (gradle catalog)?
I'm migrating my Android project to gradle catalog, for a better management of dependencies. Documentation doesn't make it very clear, or I've missed something, but what is the difference between ...
0
votes
0
answers
15
views
how to open this dialog in android studio koala 2024.1.1
I want to know where can I open the proxy setup dialog for gradle proxy ? below ,it opened after I click gradle sync. but I want to open the setup dialog in the file/Setting,but I cant find it.
below ...
0
votes
0
answers
9
views
Issues with Gradle Sync and Java Version in Android Studio Project
I am facing issues with my Android project setup in Android Studio, particularly related to Gradle and Java versions. I have tried multiple solutions, but I am still encountering errors. Here is a ...
0
votes
0
answers
13
views
Android Studio: Execution failed for task ':mergeDebugAndroidTestJavaResource'
I updated android gradle plugin to 8.4.1 by following the correct steps.
Unfortunately I am unable to build the project succesfully and get the following errorss:
Execution failed for task ':core-test:...
0
votes
1
answer
21
views
error creating bundle with ./gradlew bundleRelease
I am not a developer and have no plans to become one. I did this for fun, but I haven't touched code for several years now, and I've forgotten all about the principles. so please, keep it simple, and ...
0
votes
1
answer
9
views
Custom gradle Plugin to Run on Client Projects code
In our organization, we have a repository where we export a variety of plugins related to checkstyle, PMD, component testing, and Liquibase, among other things. I created a simple plugin with a task ...
1
vote
0
answers
17
views
Error Caused by: java.io.IOException: aapt2.exe LoadedArsc.cpp:657 Unknown chunk type '200'
After updating my app compileSdkVersion from API 33 to API 34 it will not build without this error. Please can anyone see what could be the issue?
FAILURE: Build failed with an exception.
* What went ...
0
votes
0
answers
24
views
Which Kotlin-DSl version should I be using and where to find it
I am upgrading various libraries in my project, to include upgrading to Kotlin 2.0.0 and converting from Groovy to Kotlin-DSL for my gradle builds. When running a gradle build, it runs to a success, ...
1
vote
0
answers
15
views
Login to Sonatype Nexus Repository Manager after Sonatype Jira Decommissioned
I'm trying to publish an android artifact (.aar) to mavenCentral.
As per Central Sonatype docs https://central.sonatype.org/register/central-portal/
I've created an account using GitHub singin and ...
0
votes
0
answers
18
views
KSP library for room
I want to use the room library for database, when I add the room library to my project, I can easily use it and I have no problem, but in order to be able to use room properly, I must I use ksp, well, ...
0
votes
0
answers
12
views
Gradle layout.buildDirectory Read-only file system issue
So I'm following Gradle's recommendation to remove the deprecated $project.buildDir property for the lint settings.
It was: htmlOutput file("$project.buildDir/outputs/lint/lint.html")
It ...
-1
votes
0
answers
26
views
Could not install grade distribution in Android Studio Koala
I am using the latest version of Android Studio Koala (2024.1.1). When I try to create a new project I get this error:
Could not install gradle dependencies from: https://services.gradle
Reason: java....
2
votes
1
answer
30
views
Android build error: 2 files found with path 'META-INF/NOTICE.md'
My Android app is not building.
The funny thing is that it suggests me:
Adding a packaging block may help, please refer to
And if I add packaging then it fails again and suggests to add ...
0
votes
0
answers
17
views
material-calendarview dependency is not working
so i want to use the Calendar view from the Library, no matter how i try to import it it always returns the same error i tried different versions but i always get the same error: Duplicate class ...
0
votes
0
answers
14
views
can't seem to find the solution for this back-end api gradle build error
when i try to build the gradle component it shows me different errors and one of them is:
A problem occurred evaluating root project 'android'.
Plugin with id 'com.android.library' not found.
error ...