Real User Monitoring
User session monitoring, key user actions - everything RUM.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

@dynatrace/react-native-plugin fails on Android after upgrade to Expo 55

hnggrs
Newcomer

Hi,

we have updated our Expo project to SDK 55, which is now using Gradle 9.0.0 instead of 8.14.3 for Android builds.

With that our android builds are failing with the following errors:

FAILURE: Build failed with an exception.

* Where:
Script '<redacted>/node_modules/@dynatrace/react-native-plugin/files/plugin-runtime.gradle' line: 7

* What went wrong:
Execution failed for task ':app:mergeReleaseAssets'.
> Could not find method exec() for arguments [plugin_runtime_35t1c0y1jua3q16b3tb5ka2j4$_run_closure1$_closure2$_closure3$_closure4@7e601b89] on task ':app:mergeReleaseAssets' of type com.android.build.gradle.tasks.MergeSourceSetFolders.

We are using version 2.333.1, which is depending on Gradle 9 compatible Android Gradle Plugin version 8.333.1.1106.

Anything we are missing to get our builds running with Expo 55 / Gradle 9?

3 REPLIES 3

matthias_hochri
Dynatrace Pro
Dynatrace Pro

Thanks for bringing this up. I would recommend to open a support case. We acknowledge the issue and are working on a solution for you. Gradle 9 breaks one of our internal tasks.

EDIT: Internally fixed this already and will provide update ASAP.

Is it fixed? I am still having issues running it with expo 55, web+mobile monorepo with nx

Hey, this fix will be available with 2.337.1. It will be released most likely this week.

Featured Posts