In our Android project we just apdated the Android gradle plugin to 7.2.1
after that, we have this build issue
Dynatrace Gradle plugin detected a plugin that is blocking auto-instrumentation due to a bug in the Android Gradle plugin v7.2.x.
To resolve this issue, please revert to Android Gradle plugin v7.1.3 or switch to an updated version of the Android Gradle plugin.
Is this a knowen issue?
This is the Dynatrace plugin version I'm using
com.dynatrace.tools.android:gradle-plugin:8.+
Thank you in advance
This was fixed by using the AGP 7.3.0-beta-05
Related
I tried to configure my gradle file to use gradle plugin followig this tutorial: https://github.com/Triple-T/gradle-play-publisher#authenticating-gradle-play-publisher but now i'm getting this error in the title
These is my gradle version:
screenshot
It's warning me to change my gradle version to 7.0.2 and android gradle version to 7
So i change my version to this: screenshot
The problem is after i did that and sync the project i received this error: This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2020.3.1 or newer.
My android studio is 4.1.3 by the way which i think it's the latest one
After updating Android studio to version 4.1.3 from version 3.0.1 I am seeing the error below for an existing Android project.
"Minimum supported Gradle version is 6.5. Current version is 6.1.1. Please fix the project's Gradle settings."
In Project Structure:
Android Gradle plugin is 4.1.2,
Android Gradle version is 6.5.
Have tried deleting the Gradle 6.1.1 distribution but Android Studio keeps downloading it.
Any help will be much appreciated.
Thanks.
After upgrading my Gradle plugin from the current version 3.5.3 to version 3.6.0 and Gradle to version 5.6.4, my project fails to build.
I get this error "Failed to transform artifact (com.twilio:video-android:5.1.0)"
how to fix this? When I revert my gradle version, it starts to build again, though some other things starts to annoy.
Fixed a bug where users of VideoView can not compile the SDK when
building with Android Gradle Plugin 3.6.0
You should use the latest version instead of the old.
implementation 'com.twilio:video-android:5.1.2'
Read SDK not compiling on AGP 3.6.0.
I use Realm 4.3.1. I found a question that is my Gradle plugin version auto updated. But my Gradle plugin version setting is 3.0.1 and when I build the project AndroidStudio tells me it is using Gradle plugin 3.1.0-Alpha3, ignoring my build tool version 25.0.3, as shown below.
So I removed Realm 4.3.1, and my Gradle plugin 3.0.1 works - this is my project build.gradle
That's a bug in 4.3.0 because of some trickiness with the maven publish plugin on the Realm side.
It was fixed in 4.3.2.
4.3.2 (2018-01-17)
Bug Fixes
Prevent Realms Gradle plugin from transitively forcing specific versions of Google Build Tools onto downstream projects (#5640).
I am getting following error while building Android project in Android Studio 1.2.2 (fresh instalation)
Error:(76, 0) Could not find property 'unitTestVariants' on com.android.build.gradle.internal.dsl.TestOptions_Decorated#261be0aa.
Gradle version is 2.4
Android build gradle version is 1.2.3
Android-apt version is 1.4
Android SDK version is 19.
This is triggered by the Android apt plugin using the unitTestVariants property in its 1.5 version which is only available in the Android gradle plugin from version 1.3 onwards (cf. bug report).
So for now either use android apt plugin version 1.4, or Android gradle plugin version 1.3 (see instructions below).
Note that gradle version itself doesn't matter as far as this bug is concerned and you could use 2.4 as well as 2.2.1.
Use Android gradle plugin >= 1.3
make sure the projects buildscript block references jcenter() (the beta versions aren't on maven)
replace all instances of 'com.android.tools.build:gradle:1.2.3' by 'com.android.tools.build:gradle:1.3.0-beta4'
re-sync the gradle project from within AndroidStudio
Use Android apt plugin <= 1.4
(courtesy of #emarc-magtanong)
make sure all references to the Android apt plugin read com.neenbedankt.gradle.plugins:android-apt:1.4 and not com.neenbedankt.gradle.plugins:android-apt:1.5 nor com.neenbedankt.gradle.plugins:android-apt:+.
Use gradle 2.4. This happened to me as well and tried for it to work with gradle 2.2.1 changing the build tools and android gradle plugin. The only thing that worked was to update gradle. You can update the gradle wrapper.