When compile my Xamarin Forms Android application, visual studio, show me an error's list of AndroidManifest.xml conflict, for example:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(3,3): Error AMM0000: is also present at AndroidManifest.xml:14:9-41 value=(@string/app_name). (AMM0000) /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(3,3): Error AMM0000: Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:19:3-79:17 to override. (AMM0000)
So i open AndroidManifest.xml from debug folder, replace with tools:replace into application tag, add tools schema into manifest tag, save it, recompile my application and it run without error.
But WHENEVER i compile my Xamarin Forms Android application, must follow previous steps MANUALLY.
I also add manifestmerger.jar, into my Android .csproj
This issue is showed into DEBUG and RELEASE mode!!
Environment
- Visual Studio Community 2019 for Mac Version 8.6.4
- Xamarin Forms = 4.7.0.968
- Xamarin.Android = Versione: 10.3.1.4