Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
08-04-2022 08:38 AM
Hi,
After installing the appdynamics agent API in MAUI on Visual Studio 2022 Preview the project does not compile but in xamarin.forms it does.
The error it gives me is this:
Error AMM0000 Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from AndroidManifest.xml:24:18-86 is also present at AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory).Suggestion:add'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:12:3-29:17 to override.
I already tried to put tools:replace="android:appComponentFactory" in of the android manifest, also added xmlns:tools="schemas.android.com/tools" in for tools to work.
But nothing worked, the same error appeared.
Thanks.
05-02-2023 10:25 AM
Hello,
MAUI support was added in September 2022 with v. 2022.9.0. The package to be used is under a different name "AppDynamics.Agent.Maui" and it can be found here: https://www.nuget.org/packages/AppDynamics.Agent.Maui
Thanks!
07-05-2023 03:27 AM
Hello,
Thanks for providing a nuget for MAUI.
I encounter an error with iOS simulator on Mac M1.
It looks like the architecture for iOS simulator on Mac M1 chip is missing in the iOS binding project :
clang++ exited with code 1:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_ADEumAgentConfiguration", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_ADEumCrashReportSummary", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_ADEumHTTPRequestTracker", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_ADEumInstrumentation", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_ADEumServerCorrelationHeaders", referenced from:
objc-class-ref in registrar.o
"_OBJC_CLASS_$_ADEumSessionFrame", referenced from:
objc-class-ref in registrar.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation) (MyApplication.MAUI)
It works for Android.
It works for iOS on a physical device
It works for iOS on a simulator on a Mac with Intel processor
But it does not work for iOS on a simulator on a Mac with M1 chip.
I have reported it on Stackoverflow : https://stackoverflow.com/questions/76618970/appdynamics-agent-for-maui-symbol-not-found-for-archite...
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form