<?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: gradle plugin installation error in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/gradle-plugin-installation-error/m-p/236970#M5708</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/72156"&gt;@kasdev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here you have the same problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Real-User-Monitoring/The-Dynatrace-Android-Gradle-Plugin-can-only-be-applied-to/m-p/189829" target="_blank"&gt;https://community.dynatrace.com/t5/Real-User-Monitoring/The-Dynatrace-Android-Gradle-Plugin-can-only-be-applied-to/m-p/189829&lt;/A&gt;&lt;/P&gt;&lt;P&gt;maybe these tips will help.&lt;/P&gt;&lt;P&gt;PS: Docs:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-plugin/configure-multi-module-projects" target="_blank"&gt;https://docs.dynatrace.com/docs/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-plugin/configure-multi-module-projects&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 13:45:38 GMT</pubDate>
    <dc:creator>radek_jasinski</dc:creator>
    <dc:date>2024-02-13T13:45:38Z</dc:date>
    <item>
      <title>gradle plugin installation error</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/gradle-plugin-installation-error/m-p/236969#M5707</link>
      <description>&lt;P&gt;hello. i am trying to monitor a mobile application. this mobile application is as simple as a hello world application. the app was built by android studio.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in dynatrace environment i've created a mobile application. i've follow the steps inside instrumentation wizard &amp;gt; android &amp;gt; kotlin.&lt;/P&gt;
&lt;P&gt;but build.gradle.kts file gives me error. it says:&amp;nbsp;"Failed to apply plugin 'com.dynatrace.instrumentation.module'.&lt;BR /&gt;&amp;gt; The Dynatrace Android Gradle Plugin can only be applied to Android application or dynamic-feature modules"&lt;/P&gt;
&lt;P&gt;here is a screenshot:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="community.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/17560i8A7BF991115052EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="community.png" alt="community.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;anybody who have an idea how to achieve my goal? i dont really know what the problem is. because as i said, i followed the steps in instrumentation wizard &amp;gt; android &amp;gt; kotlin page says.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 07:39:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/gradle-plugin-installation-error/m-p/236969#M5707</guid>
      <dc:creator>kasdev</dc:creator>
      <dc:date>2024-02-14T07:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: gradle plugin installation error</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/gradle-plugin-installation-error/m-p/236970#M5708</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/72156"&gt;@kasdev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here you have the same problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Real-User-Monitoring/The-Dynatrace-Android-Gradle-Plugin-can-only-be-applied-to/m-p/189829" target="_blank"&gt;https://community.dynatrace.com/t5/Real-User-Monitoring/The-Dynatrace-Android-Gradle-Plugin-can-only-be-applied-to/m-p/189829&lt;/A&gt;&lt;/P&gt;&lt;P&gt;maybe these tips will help.&lt;/P&gt;&lt;P&gt;PS: Docs:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-plugin/configure-multi-module-projects" target="_blank"&gt;https://docs.dynatrace.com/docs/platform-modules/digital-experience/mobile-applications/instrument-android-app/instrumentation-via-plugin/configure-multi-module-projects&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 13:45:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/gradle-plugin-installation-error/m-p/236970#M5708</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2024-02-13T13:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: gradle plugin installation error</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/gradle-plugin-installation-error/m-p/237090#M5712</link>
      <description>&lt;P&gt;Hey kasdev,&lt;BR /&gt;The Dyntrace Android Gradle plugin artifact contains two plugins. The instrumentation wizard (and the setup steps in the documentation) describe how you can use the main plugin (it has the plugin id "com.dynatrace.instrumentation"). In your screenshot, you are using the plugin id from the second plugin. This "module-based" plugin works slightly different and should be used, when the main plugin can't be used.&lt;/P&gt;&lt;P&gt;I would recommend so change line 11 in your build script and replace the plugin id "com.dynatrace.instrumentation.module" with "com.dynatrace.instrumentation" (without ".module"). The main plugin should be able to correctly identify your modules and configure them correctly.&lt;/P&gt;&lt;P&gt;I double checked the Kotlin DSL snippet in the instrumentation wizard and it contains the recommended snippet with plugin "com.dynatrace.instrumentation". I assume that the plugin id was changed after the snippet was copied from the wizard.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 08:48:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/gradle-plugin-installation-error/m-p/237090#M5712</guid>
      <dc:creator>Thomas_Wirth1</dc:creator>
      <dc:date>2024-02-14T08:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: gradle plugin installation error</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/gradle-plugin-installation-error/m-p/237105#M5715</link>
      <description>&lt;P&gt;wow.. you solved my problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; i had already given up after almost 20hours of work but after i've seen your comment it took 1 hour to accomplish it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; i just really thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 11:09:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/gradle-plugin-installation-error/m-p/237105#M5715</guid>
      <dc:creator>kasdev</dc:creator>
      <dc:date>2024-02-14T11:09:48Z</dc:date>
    </item>
  </channel>
</rss>

