<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Flutter Plugin build failed - needs opt-in in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Flutter-Plugin-build-failed-needs-opt-in/m-p/264204#M6507</link>
    <description>&lt;P&gt;I have resolved this by upgrading Kotlin plugin to version 1.9.25 in android/settings.gradle file.&lt;/P&gt;&lt;LI-CODE lang="java"&gt;plugins {
    // Other plugins
    id "org.jetbrains.kotlin.android" version "1.9.25" apply false
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 07:24:53 GMT</pubDate>
    <dc:creator>Kimhak</dc:creator>
    <dc:date>2024-12-03T07:24:53Z</dc:date>
    <item>
      <title>Flutter Plugin build failed - needs opt-in</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Flutter-Plugin-build-failed-needs-opt-in/m-p/264141#M6503</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I am trying to setup and build demo with Flutter plug-in version3.303.1 with this example,&amp;nbsp;&lt;A href="https://pub.dev/packages/dynatrace_flutter_plugin/example" target="_blank" rel="noopener"&gt;https://pub.dev/packages/dynatrace_flutter_plugin/example&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run flutter run, I get error with following messages:&lt;/P&gt;&lt;P&gt;Which codes should I add additionally to example?&lt;/P&gt;&lt;P&gt;------------------------------------------------&lt;/P&gt;&lt;P&gt;Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...&lt;BR /&gt;e: file:///C:/Users/xxxxxxx/AppData/Local/Pub/Cache/hosted/pub.dev/dynatrace_flutter_plugin-3.303.1/android/src/main/kotlin/com/dynatrace/android/agent/SettingsApiImpl.kt:32:21 This declaration needs opt-in. Its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)'&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;e: file:///C:/Users/xxxxxxx/AppData/Local/Pub/Cache/hosted/pub.dev/dynatrace_flutter_plugin-3.303.1/android/src/main/kotlin/com/dynatrace/android/agent/SettingsApiImpl.kt:32:41 This declaration needs opt-in. Its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)'&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;e: file:///C:/Users/xxxxxxx/AppData/Local/Pub/Cache/hosted/pub.dev/dynatrace_flutter_plugin-3.303.1/android/src/main/kotlin/com/dynatrace/android/agent/SettingsApiImpl.kt:32:41 The feature "enum entries" is only available since language version 1.9&lt;/P&gt;&lt;P&gt;FAILURE: Build failed with an exception.&lt;/P&gt;&lt;P&gt;-------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 11:59:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Flutter-Plugin-build-failed-needs-opt-in/m-p/264141#M6503</guid>
      <dc:creator>Lextech</dc:creator>
      <dc:date>2024-12-02T11:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Flutter Plugin build failed - needs opt-in</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Flutter-Plugin-build-failed-needs-opt-in/m-p/264204#M6507</link>
      <description>&lt;P&gt;I have resolved this by upgrading Kotlin plugin to version 1.9.25 in android/settings.gradle file.&lt;/P&gt;&lt;LI-CODE lang="java"&gt;plugins {
    // Other plugins
    id "org.jetbrains.kotlin.android" version "1.9.25" apply false
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 07:24:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Flutter-Plugin-build-failed-needs-opt-in/m-p/264204#M6507</guid>
      <dc:creator>Kimhak</dc:creator>
      <dc:date>2024-12-03T07:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Flutter Plugin build failed - needs opt-in</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Flutter-Plugin-build-failed-needs-opt-in/m-p/264227#M6509</link>
      <description>&lt;P&gt;Thank you, now I can build app&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 09:14:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Flutter-Plugin-build-failed-needs-opt-in/m-p/264227#M6509</guid>
      <dc:creator>Lextech</dc:creator>
      <dc:date>2024-12-03T09:14:59Z</dc:date>
    </item>
  </channel>
</rss>

