Android Resource file is not included in the app build #8831
Labels
area-single-project
Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer
platform/android 🤖
s/needs-info
Issue needs more info from the author
s/no-recent-activity
Issue has had no recent activity
t/bug
Something isn't working
Description
I created a project, added an AndroidResource icon and an icon for iOS. I created a page and added an Image where I uploaded this icon. I build project and created a NuGet Package. When I use it in another project, the icon is not displayed on my page, and the error [Glide] FileNotFoundException is displayed in the log. If you use dll instead of NuGet, the icon will appear. On iOS all work perfect.
Steps to Reproduce
I create repository https://github.com/JaneySprings/AndroidResourceBug
it contains two projects:
I added build scripts (for nuget and dll) in root but also added builded NuGet (TestPack.1.0.0.nupkg) and dll (/build/Android/ and /Build/iOS)
You need to add (TestPack.1.0.0.nupkg) to the local package source and run (/src/tmplProj). You will see that there is nothing on the page except label. There will be an icon on iOS. If you uncomment use of dll in csproj, then on both platforms you will see the icon.
Version with bug
6.0.408 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
All versions
Did you find any workaround?
We are developing DevExpress .NET MAUI controls and experienced the same issue in the our demo application. This issue has a High priority for us and we do not have a workaround. Thank you for your help!
Relevant log output
The text was updated successfully, but these errors were encountered: