cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android AppDynamics plugin (21.6.0, latest at the moment) does not work with latest Android Gradle Plugin (7.0.0)

Nick.Silin
Builder

Hi 

 

In July, 2021 Google has published new version of Android Gradle Plugin (AGP) 7.0.0 and Android Studio:

https://developer.android.com/studio/releases/gradle-plugin#7-0-0

 

So far latest version of AppDynamics plugin for Android is 21.6.0

 

When trying to build the project, there is such error probably caused by new API in latest AGP:

Some problems were found with the configuration of task ':app:appDynamicsProcessProguardMappingDebug' (type 'ProcessProguardMappingFileTask').
- Type 'com.appdynamics.android.gradle.ProcessProguardMappingFileTask' property 'applicationName' is missing an input or output annotation.

 

It is the same even if Proguard is disabled (although by obvious reasons we are not going to disable Proguard anyway)

 

The issue is reproducible on sample project we created based on basic Android project to make sure it is not caused by our project setup:

https://github.com/silin/appdynamics-mapping-upload-issues/tree/latest_gradle_plugin

 

When we try to switch our project to latest versions of Android Studio and AGP,

AppDynamics becoming a blocker for this. Dev team is really frustrated with this, because they cannot use latest tools for development, and because it is not the first time when AppD becomes a blocker

we constantly have discussions of dropping AppDynimics as a monitoring tool.

 

Could you please share some ideas about how to fix this or in what version of AppD and when it can be potentially fixed?

10 REPLIES 10

Aboubacar.Traore
AppDynamics Team (Retired)

Hello Nick,

We have found a number of breaking issues with Android Gradle Plugin (AGP) 7.0.0 and are working through them to provide a new agent. Unfortunately we do not have a current expected timeline. For now we recommend using Plugin version 4.2.0+ and  Gradle version 6.7.1+.

 

Regards,

 

Abou

Aboubacar Traore

Hi Aboubacar,

 

Do we know timelines for this, because this issue is blocking us from using latest dev tools and soon will be a blocker for our development, because we have other plugins which we must use already switched to latest AGP version?

 

Regards,
Nick

Aboubacar.Traore
AppDynamics Team (Retired)

Hello Nick,

Unfortunately there is no clear timeline since we need to rebuild our agent to support a number of AGP changes. We are targeting a Nov/Dec release but that is not confirmed yet. I will update once we have a clear scope and confirmation.

Regards,

Abou

Aboubacar Traore

Hello,

Are there any updates regarding the fix? Because I think it blocks all Android apps using AppD plugin from using up-to-date development tools, because of not ability to switch to latest Android Gradle  plugin

 

Regards,

Nick

Aboubacar.Traore
AppDynamics Team (Retired)

Hello Nick,

Thank you for your note. We are aware of the blocking constraint. Unfortunately the new AGP 7.0 compatible build still has not passed regression. the team is still working on getting a stable version. Our current planned release date is March 2022 but we are trying to get it out earlier.

Aboubacar Traore

Hello Aboubacar Traore,

 

Do we have update on this one because our team is also seriously blocked on this one?

 

Regards,

Luboslav

The team has a build but it has not passed regression. It failed on some big features - so the team is working on upgrading some of the dependencies and changing some of the code. March is still expected. February is unlikely.

Aboubacar Traore

 DEM MRUM Android support for Gradle 7 is now available!

  

How can you use it?

The AppDynamics Android Agent 22.2.2 can now be used with Gradle 7+. The new agent is available in the download page and can be integrated in customers pipeline. For more details on how to build your application using Gradle, follow the instructions below:

Where can I download it?

 For more details:

Aboubacar Traore

@Aboubacar.Traore link on top