<?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: Can I instrument Android app bundles with the manual method? in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91590#M5134</link>
    <description>&lt;P&gt;I'm using &lt;CODE&gt;Dynatrace&lt;/CODE&gt; and wish to only have it applied for development flavour using product flavours(i have created 2 flavours in app development/production) in gradle: if possible please let me know how to setup the gradle file for auto instrument using product flavors in Android.&lt;BR /&gt;&lt;BR /&gt;productFlavors &lt;BR /&gt;{development {&lt;/P&gt;&lt;PRE&gt;    }&lt;BR /&gt;    production {&lt;BR /&gt;    }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;looking forward to hearing from you.&lt;/PRE&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 01 May 2019 09:55:10 GMT</pubDate>
    <dc:creator>mobileappsuppor</dc:creator>
    <dc:date>2019-05-01T09:55:10Z</dc:date>
    <item>
      <title>Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91587#M5131</link>
      <description>&lt;P&gt;The documentation states that It's not possible to instrument Android app bundles with Android Gradle plugin and command line instrumentation methods, however there's a manual method:&lt;BR /&gt;&lt;A href="https://www.dynatrace.com/support/help/user-experience/mobile-apps/how-do-i-manually-instrument-my-android-app/"&gt;https://www.dynatrace.com/support/help/user-experi...&lt;/A&gt;&lt;BR /&gt;Can I instrument Android App bundles with the manual method?&lt;BR /&gt;If not, is Dynatrace working on it so it can be supported? is there a date?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Sep 2018 22:05:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91587#M5131</guid>
      <dc:creator>alejandro_herna</dc:creator>
      <dc:date>2018-09-05T22:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91588#M5132</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://answers.dynatrace.com/users/18558/view.html" nodeid="18558"&gt;@alejandro h.&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Yes you can use manual instrumentation for Android App Bundles.&lt;BR /&gt;Just add the following to the dependencies-block in your base modules build.gradle:&lt;/P&gt;&lt;PRE&gt;api 'com.dynatrace.agent:agent-android:7.1+'&lt;/PRE&gt;&lt;P&gt;If you correctly set up your application - meaning that all feature modules have a dependency to the base module - then you should be able to do Dynatrace API calls from everywhere.&lt;BR /&gt;&lt;BR /&gt;Make sure to insert the Dynatrace.startup(...) somewhere in the base module. Preferably in the onCreate method of your main activity.&lt;BR /&gt;&lt;BR /&gt;For more on manual instrumentation please follow the documentation.&lt;BR /&gt;&lt;BR /&gt;Regarding Auto-Instrumentation via command line or the Dynatrace Gradle Plugin:&lt;BR /&gt;Right now Android App Bundles and Instant Apps are not supported!&lt;BR /&gt;However there are efforts to support both in the future but for now the only way is to manually instrument.&lt;BR /&gt;And no, there is no date yet, all I can say is that the upcoming version 7.2 will still lack support for that.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Paul&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Sep 2018 07:39:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91588#M5132</guid>
      <dc:creator>paul_schlagitwe</dc:creator>
      <dc:date>2018-09-06T07:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91589#M5133</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://answers.dynatrace.com/users/3606/view.html" nodeid="3606"&gt;@Paul S.&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Sep 2018 16:46:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91589#M5133</guid>
      <dc:creator>alejandro_herna</dc:creator>
      <dc:date>2018-09-13T16:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91590#M5134</link>
      <description>&lt;P&gt;I'm using &lt;CODE&gt;Dynatrace&lt;/CODE&gt; and wish to only have it applied for development flavour using product flavours(i have created 2 flavours in app development/production) in gradle: if possible please let me know how to setup the gradle file for auto instrument using product flavors in Android.&lt;BR /&gt;&lt;BR /&gt;productFlavors &lt;BR /&gt;{development {&lt;/P&gt;&lt;PRE&gt;    }&lt;BR /&gt;    production {&lt;BR /&gt;    }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;looking forward to hearing from you.&lt;/PRE&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 May 2019 09:55:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91590#M5134</guid>
      <dc:creator>mobileappsuppor</dc:creator>
      <dc:date>2019-05-01T09:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91591#M5135</link>
      <description>&lt;P&gt;By default the dynatrace plugin is applied to all flavors. If you want to have different configurations for your flavors you can use something like:&lt;/P&gt;&lt;PRE&gt;android{&lt;BR /&gt;&lt;BR /&gt;productFlavors {&lt;BR /&gt;   production{&lt;BR /&gt;      ...&lt;BR /&gt;   }&lt;BR /&gt;   development{&lt;BR /&gt;      ...&lt;BR /&gt;   }&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;...&lt;BR /&gt;dynatrace {&lt;BR /&gt;  defaultConfig { // applies to all flavors except for those defined below&lt;BR /&gt;    applicationId '&amp;lt;DEV_ApplicationID&amp;gt;'&lt;BR /&gt;    beaconURL '&amp;lt;ProvidedBeaconURL&amp;gt;'&lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;  productFlavors {&lt;BR /&gt;    production{ // name of your flavor&lt;BR /&gt;      applicationId '&amp;lt;PROD_ApplicationID&amp;gt;'&lt;BR /&gt;      beaconURL '&amp;lt;ProvidedBeaconURL&amp;gt;'&lt;BR /&gt;    }&lt;BR /&gt;  }&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;If you only define one flavor the configuration for all other flavors falls back to the defaultConfig which cannot be omitted in this case.&lt;BR /&gt;Unfortunately its not yet possible to have the instrumentation for one flavor and do not instrument another flavor.&lt;BR /&gt;However there is a workaround for that. In this case you would have to define a property (ie "instrument") and if you pass this property to your gradle task (ie: gradlew assembleRelease -Pinstrument) then the plugin is applied and the build is instrumented.&lt;BR /&gt;In your gradle file you have to define an if condition:&lt;/P&gt;&lt;PRE&gt;&amp;lt;code&amp;gt;if(project.hasProperty('instrument')) {&lt;BR /&gt;  apply plugin: 'com.dynatrace.tools.android'&lt;BR /&gt;  dynatrace {&lt;BR /&gt;    defaultConfig {&lt;BR /&gt;      applicationId '&amp;lt;YourApplicationID&amp;gt;'&lt;BR /&gt;      beaconURL '&amp;lt;ProvidedBeaconURL&amp;gt;'&lt;BR /&gt;    }&lt;BR /&gt;  }&lt;BR /&gt;}&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;P&gt;Thats not very pleasant but improvement is on the way. There will be a new major version of the dynatrace plugin in a few months that will have a much better support for usecases like that.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2019 11:39:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91591#M5135</guid>
      <dc:creator>paul_schlagitwe</dc:creator>
      <dc:date>2019-05-02T11:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91592#M5136</link>
      <description>&lt;P&gt;Hi @Paul S.&lt;BR /&gt;Thanks for instant reply i have applied your workaround(had set property in gradle and run(ie: gradlew assembleRelease -Pinstrument) then the plugin is applied and the build is not instrumented) getting &lt;STRONG&gt;auto instrument failed (No java found)&lt;/STRONG&gt; ,although system already has installed java path to environment variables(system variables).&lt;BR /&gt;also dynatrace log is not being generated.&lt;BR /&gt;&lt;BR /&gt;Looking forward for a solution earliest.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2019 14:35:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91592#M5136</guid>
      <dc:creator>mobileappsuppor</dc:creator>
      <dc:date>2019-05-02T14:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91593#M5137</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/30956/view.html" nodeid="30956"&gt;@Mobileapp S.&lt;/A&gt;&lt;BR /&gt;Did it work previously? Before you applied the workaround?&lt;BR /&gt;What agent version are you using? Latest is 7.2.4.&lt;BR /&gt;The auto-instrumentor requires a &lt;STRONG&gt;JDK &lt;/STRONG&gt;(not JRE!) with version 1.8 or higher.&lt;BR /&gt;Before you run "gradlew ..." in your terminal, can you verify the output of "echo %JAVA_HOME%" (if you are on windows, otherwise: "echo $JAVA_HOME").&lt;BR /&gt;The path should point to your java JDK installation. &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2019 05:44:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91593#M5137</guid>
      <dc:creator>paul_schlagitwe</dc:creator>
      <dc:date>2019-05-03T05:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91594#M5138</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/7972/view.html" nodeid="7972"&gt;@Paul S.&lt;/A&gt; &lt;BR /&gt;Yes previously it was instrument and yes i am using latest version 7.2.4 and java version 1.8 version.&lt;/P&gt;&lt;P&gt; "echo %JAVA_HOME% pointed to java installation path(C:\Program Files\Java\jdk1.8.0_172)&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2019 06:11:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91594#M5138</guid>
      <dc:creator>mobileappsuppor</dc:creator>
      <dc:date>2019-05-03T06:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91595#M5139</link>
      <description>&lt;P&gt;Can you also verify if the following file exists: %JAVA_HOME%\bin\jar&lt;BR /&gt;If not, its not a JDK but a JRE (despite the name jdk1.8.0)&lt;BR /&gt;&lt;BR /&gt;If it does exist we need to dig deeper and I need to take a look at your build.gradle file.&lt;BR /&gt;Can you open a support ticket?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2019 06:21:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91595#M5139</guid>
      <dc:creator>paul_schlagitwe</dc:creator>
      <dc:date>2019-05-03T06:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91596#M5140</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/7972/view.html" nodeid="7972"&gt;@Paul S.&lt;BR /&gt;&lt;/A&gt;%JAVA_HOME%\bin\jar &lt;BR /&gt;Yes it exists there, please find the attach screenshot.&lt;BR /&gt;&lt;BR /&gt;Todays is our release plan looking forawrd to a earlist response.&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/20422-java-jar.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/20424-java-dynatrace.png" /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2019 06:47:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91596#M5140</guid>
      <dc:creator>mobileappsuppor</dc:creator>
      <dc:date>2019-05-03T06:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91597#M5141</link>
      <description>&lt;P&gt;That looks fine.&lt;BR /&gt;Can you open a support ticket and provide your build.gradle file along with the exact error message you receive when you type the "gradlew assembleRelease -pInstrument" (or replace "assembleRelease" with whatever buildtype you want to build")&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 May 2019 06:54:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91597#M5141</guid>
      <dc:creator>paul_schlagitwe</dc:creator>
      <dc:date>2019-05-03T06:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can I instrument Android app bundles with the manual method?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91598#M5142</link>
      <description>&lt;P&gt;May I know Where is the documentation of the API method calls? &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Dec 2019 05:07:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Can-I-instrument-Android-app-bundles-with-the-manual-method/m-p/91598#M5142</guid>
      <dc:creator>rswarnka</dc:creator>
      <dc:date>2019-12-18T05:07:44Z</dc:date>
    </item>
  </channel>
</rss>

