cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
maliborskaya
Dynatrace Advisor
Dynatrace Advisor

If you can't resolve a problem with the Dynatrace .NET MAUI NuGet package for your mobile applications, please contact a Dynatrace product expert via live chat within your Dynatrace environment. Have the following details available:

Failed build

If your build fails, make sure you've added the dynatrace.config.json file to the Assets (Android) or Resources (iOS) directory and that the file includes at least the beacon URL and the application ID properties. For details, see Configuration file.

If you use the manual startup, don't include the beacon URL and the application ID properties in the configuration file. If you do that, you'll encounter an exception.

Turn off Visual Studio Debugger for Android

If you notice that Dynatrace doesn't report crashes for Android applications to your environment, make sure that you're not using the debug option in Visual Studio.

  1. Right-click your Android project, and select Properties.

  2. Go to Android Options, and clear Enable developer instrumentation (debugging and profiling).

    Disable developer instrumentationDisable developer instrumentation

     

Keep in mind that clearing Enable developer instrumentation disables debugging. Use this option only to verify that crashes are sent. Optionally, you can create a release build that is detached from Visual Studio.

See also The start method for OneAgent is not valid in MAUI.

Version history
Last update:
‎09 Jan 2024 11:03 AM
Updated by: