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

All Questions

0 votes
2 answers
17 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
13 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
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
1 vote
0 answers
35 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
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
0 votes
1 answer
136 views

"Execution failed for task ':react-native-gradle-plugin:compileKotlin'" ,when upgraded from 0.72.5 to 0.74.2

The class is loaded from C:/Users/USER/.gradle/wrapper/dists/gradle-8.6-all/3mbtmo166bl6vumsh5k2lkq5h/gradle-8.6/lib/kotlin-stdlib-1.9.20.jar!/kotlin/collections/CollectionsKt__CollectionsKt.class e: ...
Anu Robinson's user avatar
0 votes
0 answers
49 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:...
Khushboo Gandhi's user avatar
1 vote
1 answer
65 views

Cannot invoke "com.android.tools.r8.graph.i0.a(com.android.tools.r8.graph.y)

I am getting the below error when trying to build a release app bundle. java.lang.NullPointerException: Cannot invoke "com.android.tools.r8.graph.i0.a(com.android.tools.r8.graph.y)" because ...
Mehul Kanzariya's user avatar
0 votes
0 answers
55 views

Flutter Build Error: Multiple build operations failed due to conflicting plugin paths

`I'm encountering a build error in my Flutter project with the message "Multiple build operations failed." The error log indicates that several plugins, including google_sign_in_android, are ...
Sourav Kumar's user avatar
0 votes
0 answers
76 views

Unresolved reference after upgrading to Android Gradle Plugin 8.3

I have an Android build.gradle file that uses an alternate sourceSets declared as stated by the AGP documentation : android { sourceSets { main.res.srcDirs = [main.res.srcDirs, "build/...
avianey's user avatar
  • 5,733
0 votes
0 answers
21 views

Include a local gradle library by another library

In android's gradle build system, is it possible that a library imports another library from a local file path? I know that it's possible to add local gradle libraries in the root project by adding it ...
hannojg's user avatar
  • 1,067
1 vote
0 answers
47 views

MissingPluginException(No implementation found for method loadModel on channel tflite) i'm stuck

I am develop a flutter application for ASD Classification based on face images. I have been stuck for 2 weeks with the problem "missingpluginexception (no implementation found for the load ...
user25795583's user avatar
0 votes
0 answers
17 views

Flutter integration tests report shows 0 tests but actually runs tests

I'm running flutter integration tests (instrumentation tests) using flutter integration_driver There are two ways of running the tests: 1. Using flutter driver command I run flutter driver with some ...
Vishnu's user avatar
  • 2,121

15 30 50 per page
1
2 3 4 5
752