Splunk AppDynamics

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

Nick_Silin
Explorer

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?

Labels (1)
Tags (1)
0 Karma
1 Solution

Aboubacar_Traor
Path Finder

 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:

View solution in original post

0 Karma

iamryan
Community Manager
Community Manager
0 Karma

Konstantin_Akse
Explorer

@Aboubacar.Traore link on top 

Aboubacar_Traor
Path Finder

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

Nick_Silin
Explorer

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

0 Karma

Aboubacar_Traor
Path Finder

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

0 Karma

Nick_Silin
Explorer

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

0 Karma

Aboubacar_Traor
Path Finder

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.

Luboslav_Vankov
New Member

Hello Aboubacar Traore,

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

Regards,

Luboslav

0 Karma

Aboubacar_Traor
Path Finder

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_Traor
Path Finder

 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:

0 Karma
Get Updates on the Splunk Community!

Holistic Visibility and Effective Alerting Across IT and OT Assets

Instead of effective and unified solutions, they’re left with tool fatigue, disjointed alerts and siloed ...

SOC Modernization: How Automation and Splunk SOAR are Shaping the Next-Gen Security ...

Security automation is no longer a luxury but a necessity. Join us to learn how Splunk ES and SOAR empower ...

Ask It, Fix It: Faster Investigations with AI Assistant in Observability Cloud

  Join us in this Tech Talk and learn about the recently launched AI Assistant in Observability Cloud. With ...