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

Questions tagged [android-gradle-plugin]

The Android Gradle Plugin is Android's standard build system. It is used as backing-build-system by Android Studio.

android-gradle-plugin
0 votes
2 answers
15 views

How to change the default library when downgrade the targetSdk version

When I want to create a new Android project in Android Studio, the defaul targetSdk will always be the latest one (for now is 34), but What I want is the lower one. The IDE will show me the error when ...
Steven Shih's user avatar
0 votes
0 answers
12 views

Gradle Error while running flutter project in Android Studio java

I am completely new to flutter. Yesterday I installed flutter, added path variables and it works straight from cmd. I also created a project using cmd and opened it in Android Studio. Import of Dart ...
Tony Casilla Coaquira's user avatar
0 votes
0 answers
32 views

Android Studio 2024.1.1 - Gradle Project sync failed

I try to use Android Studio but there is a problem since i downloaded it, the sync fail. I always got the same Error messages : "Could not move temporary workspace" "java.nio.file....
Guillaume's user avatar
0 votes
1 answer
23 views

Run Gradle Code Automatically When Android Plugin Detected

tldr: I want some task configuration to run automatically whenever the Android Gradle Plugin is used. How? I have a very large gradle project with many different build scripts. Some are android, some ...
dave mankoff's user avatar
  • 17.6k
0 votes
2 answers
36 views

Could not resolve com.android.tools.build:gradle:7.4.2 convention module

I'm trying to write gradle plugin in my android project. I have a build-logic module which contains convenion module. I wrote a small plugin JvmLibraryPlugin and registered it in the convention module ...
TOvchinnikova's user avatar
0 votes
0 answers
13 views

Build issue: Conflicts with Google Protobuf dependency with existing Firebase dependencies

Facing Issue when adding - implementation 'com.google.cloud:google-cloud-vision:3.44.0' library in gradle facing error as shown in image Gradle Error code below - Caused by: java.lang....
Nitesh Chauhan's user avatar
0 votes
1 answer
29 views

Local AGP jar was not found in any of the following sources

It happened so that I need to make an app buildable using local tools only. I am stuck with local AGP jar. I have tried to add it to classpath: classpath(files("gradle/com.android.tools.build....
Void's user avatar
  • 1,291
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
2 answers
23 views

Snyk denial of service: utp:[email protected] > io.grpc:[email protected] > io.netty:[email protected]

I've encountered a vulnerability after running the Snyk open source security management tool and am not sure how to resolve it. I believe this is related to a library pulled in by the Android Gradle ...
VIN's user avatar
  • 6,806
0 votes
0 answers
13 views

Custom Module not found Android Dependencies (Flutter Plugin)

I have been trying to install one particular custom android module for almost a day now. I have tried different resources (including ChatGPT) but it seems I am probably missing something. Please I ...
Georgina's user avatar
  • 832
1 vote
0 answers
34 views

AGP 8.4+ and Hilt (Android Library Modules in Multi-module architecture, R8)

I found this patch note when the 8.4 version came out: https://developer.android.com/build/releases/past-releases/agp-8-4-0-release-notes#library-classes-shrunk "Starting with Android Gradle ...
No_Name's user avatar
  • 98
0 votes
0 answers
18 views

Updating Android Gradle plugin above 3.2

I am trying to create the sign in keys for my flutter app by running build\Generate signed bundle or apk but I can't since I need to have android gradle plugin 3.2.0 or above. So I tried updating my ...
Luis Silva's user avatar
0 votes
0 answers
17 views

Dependencies add [closed]

I am nit able to add dependencies in android studio kotlin app project I tried youtube tutorial bit it didn't work and i expect someone to guide me with correct steps I have tried steps of he girl of ...
Suhani Jain's user avatar
0 votes
0 answers
20 views

composeCompiler inside a Gradle Plugin

I would like to configure the compiseCompiler inside my Plugin but I am unable to access it. I tried this way: class AndroidApplicationComposeConventionPlugin : Plugin<Project> { override ...
No_Name's user avatar
  • 98
0 votes
0 answers
26 views

How to exclude app module from instrumented test?

After running ./gradlew connectedAndroidTest and removing androidTest directory and the any required setup with instrumented test from my app module build.gradle.kts, the task :app:...
Bitwise DEVS's user avatar
  • 3,156

15 30 50 per page
1
2 3 4 5
877