You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What went wrong:
Execution failed for task ‘:datadog_flutter_plugin:compileDebugKotlin’.
A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details
Reproduction steps
When executing flutter
Volume
all
Affected SDK versions
2.7.0 - 2.9.0
Latest working SDK version
2.7.0 - 2.9.0
Does the crash manifest in the latest SDK version?
Yes
Flutter Version
No response
Setup Type
No response
Device Information
No response
Other relevant information
When running flutter, is solved by running a flutter clean and pubget, it should be noted that I happened in version 2.7.0 and then I uploaded the version to 2.9.0 and happened again until I did the step mentioned at the beginning.
The text was updated successfully, but these errors were encountered:
I've seen this before and actually have no idea what causes it, but it appears it's caused by some weird disconnect between what the Flutter plugin wants and what Gradle has actually downloaded, which is why a clean rebuild solves it. It might also be caused by some Gradle cache issue...
After doing a clean rebuild, do you ever see the problem again before performing an upgrade?
@fuzzybinary
Thanks for the answer!
correct to run a ‘flutter clean’ and then a ‘pub get’. is solved, if you need to close the bug, you could do or investigate a little more ?
Yes, I'll continue to look into it to see if it's something weird about how our SDK specifies its dependencies, but since it has a relatively simple workaround it likely won't be high priority.
Stack trace
file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:30:22 Unresolved reference ‘PerformanceTracker’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:31:32 Unresolved reference ‘PerformanceTracker’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:80:44 Unresolved reference ‘asFlutterMap’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:102:44 Unresolved reference ‘asFlutterMap’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:135:44 Unresolved reference ‘asFlutterMap’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:165:44 Unresolved reference ‘asFlutterMap’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumEventMapper.kt:215:44 Unresolved reference ‘asFlutterMap’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:76:29 Unresolved reference ‘DatadogSdkPlugin’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:97:20 Unresolved reference ‘invalidOperation’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:131:17 Unresolved reference ‘DatadogSdkPlugin’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:172:19 Unresolved reference ‘DATADOG_FLUTTER_TAG’.
file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:200:29 Unresolved reference. None of the following candidates is applicable because of a receiver type mismatch:
@InlineOnly() fun <T, R> T.let(block: (T) -> R): R
[R|Contract description]
<
CallsInPlace(block, EXACTLY_ONCE)
>
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:200:33 Cannot infer type for this parameter. Please specify it explicitly.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:201:67 Unresolved reference ‘trackViewsManually’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:202:66 Unresolved reference ‘trackInteractions’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:203:60 Unresolved reference ‘trackErrors’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:204:69 Unresolved reference ‘trackNetworkRequests’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:205:65 Unresolved reference ‘trackNativeViews’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:207:20 Unresolved reference ‘trackCrossPlatformLongTasks’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:209:20 Unresolved reference ‘trackFlutterPerformance’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:210:60 Unresolved reference ‘dartVersion’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:231:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:252:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:262:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:278:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:299:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:321:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:343:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:356:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:369:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:382:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:393:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:403:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:416:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:438:20 Unresolved reference ‘missingParameter’.
e: file:///Users/gregspinetti/.pub-cache/hosted/pub.dev/datadog_flutter_plugin-2.9.0/android/src/main/kotlin/com/datadoghq/flutter/DatadogRumPlugin.kt:449:20 Unresolved reference ‘missingParameter’.
FAILURE: Build failed with an exception.
Execution failed for task ‘:datadog_flutter_plugin:compileDebugKotlin’.
Reproduction steps
When executing flutter
Volume
all
Affected SDK versions
2.7.0 - 2.9.0
Latest working SDK version
2.7.0 - 2.9.0
Does the crash manifest in the latest SDK version?
Yes
Flutter Version
No response
Setup Type
No response
Device Information
No response
Other relevant information
When running flutter, is solved by running a flutter clean and pubget, it should be noted that I happened in version 2.7.0 and then I uploaded the version to 2.9.0 and happened again until I did the step mentioned at the beginning.
The text was updated successfully, but these errors were encountered: