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

All Questions

Tagged with
0 votes
0 answers
44 views

Metadata.bin file not found on initial gradle sync with Android Studio Koala - 2024.1.1

I recently updated Android Studio from Chipmunk version - 2021.2.1 to Koala version - 2024.1.1. Now, when I open my projects, the gradle synchronization starts and always ends with: C:\Users\[MY_USER]\...
LucaCA's user avatar
  • 1
0 votes
0 answers
8 views

Script variable conflicts with a named object (Gradle/Groovy DSL)

I am surprised to find out that the name spaces of script variables and named objects interact in a very bad way. In my real build script, the conflicting name was integrationTest and it looked like I ...
18446744073709551615's user avatar
1 vote
1 answer
77 views

How can I add latest stable dependencies and plugins to my latest version of Android Studio Koala?

I want to implement MVVM architecture in my project. My Android Studio is Koala. I want to use the latest versions which are compatible with my project. My module level gradle file looks like this: ...
Aamir Khan's user avatar
0 votes
0 answers
12 views

How do I get IntelliJ to recognize arguments defined in my ~/.grade/gradle.properties file?

I'm running IntelliJ 2023.3.4 on Windows. I have imported a Gradle project and I have these lines in my build.gradle file ... credentials { ≠≠ username = "${my_user}" ...
Dave's user avatar
  • 17.4k
0 votes
1 answer
36 views

Which is difference between two different imports?

I created a new project and there is some differences on importing on gradle files, I don't understand why its different from other projects that I have, is this wrong, can somebody tell me the ...
Flutura Demaj's user avatar
0 votes
0 answers
20 views

Download jar from a second maven repository

I have the following Gradle 8.9 configuration: plugins { id 'org.springframework.boot' version '3.2.7' id 'io.spring.dependency-management' version '1.1.6' id 'java' } group = 'com.test' ...
Peter Penzov's user avatar
  • 1,078
0 votes
1 answer
36 views

Switch repository based on environment

In my local development environment, I need to use my local repo. But when I build in cloud, I need to use remote repo. Can someone please help me to achieve this as I'm new to gradle? EDIT: This is ...
Kapila's user avatar
  • 87
2 votes
1 answer
88 views

Failed to build apk in flutter project with fire base

when i want to buil my apk by using flutter build apk i get the following error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:...
Ali's user avatar
  • 21
1 vote
1 answer
44 views

Kotlin Android different (Module:App) build.gradle structures makes tutorials hard to follow

I am quite new to developing in Android for kotlin. I was trying to follow a tutorial on how to setup a local Room Database in my App, but my build.gradle looks completely different than the persons ...
luk139's user avatar
  • 13
0 votes
0 answers
19 views

Sonar coverage exclusion not ignoring classes

Currently I have updated my application to springboot 3 and Java 21, unfortunately the configuration classes are not ignored anymore which affects the coverage percentage. Build gradle: import org....
Jansen Miotto's user avatar
0 votes
0 answers
34 views

Best practice for specifying the namespace for dependencies in the gradle file of a flutter app

I am working on fixing an old app for a client that an agency wrote for him. After fixing a few issues and upgrading dependencies, I got stuck in the build process. The main issue is that the ...
Simon Johanning's user avatar
0 votes
1 answer
33 views

Gradle 8.0 is not useable with Flutter 3.7

[ +2 ms] FAILURE: Build failed with an exception. [ +4 ms] * Where: [ +1 ms] Script 'C:\Users\hp\OneDrive\Documents\flutter_windows_2.10.1-stable\flutter\packages\flutter_tools\gradle\flutter....
Rahul Rohini's user avatar
0 votes
0 answers
169 views

app:mergeExtDexDebug FAILED Due to the lifecycle-livedata-core-2.8.3-runtime.jar missing

I was just trying to update my project from targetSDK version 33 to to 34. For that I need to update some lifecyle apis as well. Prevously I was using these versions //LifeCycle ...
Muzammal Abdul Ghafoor's user avatar
0 votes
0 answers
34 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 ...
gökhan gürbüz's user avatar
0 votes
1 answer
56 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, ...
Mostafa Shafayi's user avatar

15 30 50 per page
1
2 3 4 5
343