cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

End User Monitoring (EUM)

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

Nick.Silin
Builder

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

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?

Tags (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Android AppDynamics plugin (21.6.0, latest at the moment) does not work with latest Android Gradle Plugin (7.0.0)
3 REPLIES 3
Aboubacar.Traore
Moderator

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
Nick.Silin
Builder

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
Moderator

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