I solved the problem by publishing with visual studio version 17.10.0.
Custom fonts not working when uploading Maui Android project to Play Store
I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs
file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to Play Store, the custom fonts are not working at all. Can someone please help me with this issue?
Thank you.
3 answers
Sort by: Most helpful
-
-
Dave 0 Reputation points
2024-09-15T15:02:16.3433333+00:00 @Norman Mackay "(happens randomly in debug too although several clean and rebuilds eventually fix this)." Unfortunate, but it works. Thank you.
-
Stefan Cuypers 0 Reputation points
2024-10-03T11:45:39.02+00:00 I'm experiencing the same issue in VS 17.11.4.
Fonts work fine in debug mode, but when running in release mode they do not work.