build.gradle Questions

1

This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs easier to analyze and debug. I am trying to resolv...

7

Trying to upgrade react native 0.75.1, using https://react-native-community.github.io/upgrade-helper. running into error Settings file 'mobile/android/settings.gradle' line: 2 * What went wrong: ...
Manage asked 16/8 at 18:5

14

I install new version of Android Studio"2.1.0.9". Now when sync gradle error message in this: gradle failed resolve com.theartofdev.edmodo:android-image-cropper:+ I used any version of image cro...
Tautog asked 3/5, 2016 at 5:36

5

Solved

When I bought the new laptop, to copy my android studio projects from old laptop to new laptop, I just copied all the projects from the folder AndroidStudioProjects to respective folder in new lapt...
Nada asked 17/1, 2022 at 1:50

4

Solved

I am currently updating my project and as one of the steps I am changing gradle files to use the plugins { id 'xxx' } way instead of the legacy apply plugin 'xxx' approach. I was able to migrate mo...
Russophobe asked 27/10, 2022 at 12:0

11

Solved

I am trying use this library in my Project. But i am unable to download it by adding it in gradle build. In fact i am even unable to download any library through gradle. I need to manually download...
Storekeeper asked 21/11, 2017 at 5:19

13

Solved

I have an error in my build.gradle file (android/build.gradle) in my Flutter project. The App is running completely normal but this error is still not looking good to me. Does anyone ever had this ...
Coxcombry asked 15/8, 2022 at 5:58

4

Is there a way to dynamically change the package of the generated file .BuildConfig? I want to use build.gradle file to use the applicationId and change the package name between different builds. ...
Carafe asked 14/12, 2015 at 17:49

2

Solved

I am new to Gradle and I have a source code location different than what Gradle expects. Gradle expects to find the production source code under src/main/java and your test source code under src/m...
Cockspur asked 14/2, 2014 at 4:44

6

Edit: Found out that MockK is causing this issue. I guess it is duplicating these files when I'm mocking my API request. When I remove MockK and/or Mockito. I do not get these errors. Any ideas? Ge...
Parthinia asked 17/1, 2023 at 17:34

2

Solved

after recent update, my android studio make an error: java.lang.NullPointerException: Cannot invoke "com.android.tools.r8.internal.Gk0.B()" because the return value of "com.android....

5

Solved

I want to enable compose metrics by this official docs. In root gradle I added this: subprojects { tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { kotlinOptions { if (proj...
Incongruity asked 13/2, 2023 at 1:30

5

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.appl...

12

I am using : gradle-2.3 javac -version = 1.7 jre = 1.7 regedit shows it is pointing to 1.7. But I am still getting below error Execution failed for task ':compileJava'. > invalid source ...
Sin asked 26/5, 2015 at 6:23

6

Solved

I'm trying to get log4j to work in a project that I'm working on. I added the relevant log4j dependencies in build.gradle and excluded the Spring boot starter logging so it can work. This worked ...
Fortis asked 26/2, 2015 at 4:47

5

An error occurred after I downloaded version 6.8 and the latest version of Gradle. A problem occurred evaluating project ':launcher'. < Failed to apply plugin 'com.android.internal.version-chec...

3

Plugin with id 'com.facebook.react' not found. 1: Task failed with an exception. Where: Build file 'android/app/build.gradle' line: 2 What went wrong: A problem occurred evaluating project ':app'...
Jeraldjeraldine asked 17/1, 2023 at 11:15

3

Solved

I am new to gradle. I am getting an warning message when using gradle build: gradle build Path for java installation '/usr/lib/jvm/openjdk-11' (Common Linux Locations) does not contain a java execu...
Carin asked 24/10, 2023 at 15:59

3

Solved

Trying to build a simple example that uses kotlin coroutines in an activity: lifecycleScope.launch { val result = httpGet("http://hmkcode-api.appspot.com/rest/api/hello/Android") textView.setTe...
Nunez asked 18/3, 2020 at 16:51

9

When I try to run my android application on an Android device, the gradle console reports the following error: Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. > c...
Brooklet asked 2/5, 2016 at 19:21

18

Solved

Today I updated my Android Studio to 2.0 and when I run my project is gives me this error Error:Execution failed for task ':app:clean'. > Unable to delete directory: /media/dev1/08782A6D782A5A2...
Inseminate asked 8/4, 2016 at 6:23

1

I am creating a project in Android Studio. I want to keep it modular and declare dependencies and versions at single place and take from there in my all modules. What I've done so far-> Created...

16

Solved

I want to use architecture project (todo list) but get this error when i want to run project The project is using an incompatible version (AGP 7.3.0-alpha07) of the Android Gradle plugin. Latest su...
Articular asked 25/5, 2022 at 17:45

7

I decided to use latest version of Gradle and after updating AndroidManifest.xml and build.gradle I get this error and I couldn't solve it Error: Namespace not specified. Please specify a namespace...
Peggi asked 21/5, 2023 at 15:36

2

Solved

What would be the equivament of the following in Kotlin DSL (build.gradle.kts)? processResources { from(sourceSets.main.resources.srcDirs) { filter ReplaceTokens, tokens: [version: version] } } ...
Elegance asked 16/9, 2020 at 12:6

© 2022 - 2024 — McMap. All rights reserved.