because the MauiIcon ist not displaying my AppIcon for Android correctly, i want to manually change the AppIcon for Android with a PNG in the Android/Resources folder.
How can i get this to work, do i need to create a folder in Android / Resources? I use .net 7 and already tried to delete the bin, and clear the project etc. the icon is still not correctly display. In ios its working great but not in Android.
If you need furhter information just tell me. I am not getting this done till days
You don't need to add an app icon separately on the Android platform.
In a .NET Multi-platform App UI (.NET MAUI) app project, an app icon can be specified in a single location in your app project. At build time, this icon can be automatically resized to the correct resolution for the target platform and device, and added to your app package. This avoids having to manually duplicate and name the app icon on a per platform basis.
In your project file, the <MauiIcon>
item designates the icon to use for your app. You may only have one icon defined for your app. Any subsequent <MauiIcon>
items are ignored.
The icon defined by your app can be composed of a single image, by specifying the file as the Include
attribute:
<ItemGroup>
<MauiIcon Include="Resources\AppIcon\appicon.svg" />
</ItemGroup>
For more information,you can check document: Change a .NET MAUI app icon.