Questions tagged [android-gradle-3.0]

Use this tag for questions specifically related to the version 3 of the Android Gradle Plugin, for generic questions use the android-gradle tag.

Version 3 of the Android Gradle Plugin is Android's standard build system. It is used as backing-build-system by Android Studio.

123 questions
1
vote
1 answer

Project doesn't build after upgrading to android gradle plugin 3.0.0+

after migrating to Android 3.0 I've changed gradle configurations in my projects. In one of them I get errors while trying to do the build: Execution failed for task ':app:compileDebugKotlin'. e:…
1
vote
0 answers

Gradle 3.0 No resource found from other module in project

I have upgraded Android Gradle plugin to 3.0. I have multiple modules in my project. So for different buildTypes (say, release) in module, I have also added releaseImplementation project(':otherModule') in main App module gradle. In some layout xml…
1
vote
0 answers

Gradle 3.0.0 build problems

So I've updated to gradle 3.0.0 (IDE also) and it started to get me into all sort of problems. First of all I had to enable multiDex: implementation project multidex vailError:Execution failed for task …
GuilhE
  • 11,591
  • 16
  • 75
  • 116
1
vote
0 answers

AndroidAnnotations not compatible with DataBinding since Android Studio 3.0

UPDATE It turned out that the issue is not with AndroidAnnotations. There is a bug in the gradle plugin 3.0 that does not find generated classes when compiling DataBinding views. There is an issue on the Android issuetracker. ORIGINAL POST After…
1
vote
1 answer

using ig-json-parser with annotationProcessor from android studio 3.0

In the new version of gradle, the 'android-apt'-pligin is no longer compatible. now you have to user 'annotationProcessor' instatof 'apt' so far so good. I do the folowing: Remove the class path for the apt from the build.gradle (Project:…
1
vote
1 answer

How to override versionCode for ABI filters with gradle plugin 3.0.0-beta1?

I have the following defined in my build.gradle for overriding the versionCode based on the ABI. import com.android.build.OutputFile android.applicationVariants.all { variant -> variant.outputs.each { output -> def defaultCode =…
Mark
  • 2,362
  • 18
  • 34
0
votes
0 answers

Dex Transformation not getting generated for build variants after migrating from Gradle 2.14/AGP 2.2 to Gradle 5.x/AGP 3.5

I'm working on upgrading Android Gradle Plugin from 2.2.0 to 3.5 (Gradle 2.14 --> 5.x). While doing so, I observe that dex transformations which were earlier generated for our build variants( we have 6 flavours) are not getting generated now. I…
0
votes
0 answers

The supplied phased action failed with an exception. A problem occurred evaluating settings 'android'. Could not read script 'E:\flutter sdk\

I am facing this issue in my Flutter Project while building APK. Can anyone guide me please? I tried every possible solution to solve it but can't solve it. The supplied phased action failed with an exception. A problem occurred evaluating settings…
0
votes
0 answers

aar file is not identified by the task in gradle 7.6

i have this code in build.gradle file sourceSets { main { java { srcDirs = ['src/main/java'] } } } task runAppDatabase( dependsOn: 'classes', type: JavaExec) { …
0
votes
0 answers

I have been getting a DefaultWorkerExecutor$WorkExecutionException in my Android Studio

I have been trying to execute Maven in my build.gradle(app) but it is already in my settings.gradle. Every time I run my code I keep getting the following error/exception when I run it on my emulator: Caused by:…
0
votes
0 answers

Getting error after adding firebase in flutter for android app

When trying run the app I am getting below error every time, what is this error and how to resolve this and what is wrong with android gradel error: FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root…
0
votes
0 answers

After implement Zendesk library got ERROR At run time

When I add this library implementation group: 'com.zendesk', name: 'support', version: '5.1.0' and sync project that time got a sync success... but when I ran the project I got an error Execution failed for task ':app:kaptStagingDebugKotlin'. A…
0
votes
1 answer

Execution failed for task ':app:mergeDebugNativeLibs' while upgrading to Gradle 7.x

I am following the doc to update the react-native architecture to the new turbo and fabric. I upgraded Gradle to 7. I am facing the following issue. Please help. link to error link to tried solution but it didn't work
0
votes
2 answers

Flutter Android build not generating in Mac

In Mac, I've setup Flutter in Android studio. When I'm running project it gives me error * What went wrong: Execution failed for task ':location:compileDebugKotlin'. > A failure occurred while executing…
0
votes
1 answer

Android project build error Duplicate of android class.data binding.Database observed in data binding modules-runtime-7.0.4-runtime

When building a project in Android Studio, Duplicate of android class.data binding.Database observed in data binding modules-runtime-7.0.4-runtime, an error appears below is an incomplete error code and gradle files of the project: Duplicate class…
Egor
  • 1
  • 1
1 2 3
8 9