Custom fonts not working when uploading Maui Android project to Play Store

Mujtaba Ali Panjwani 5 Reputation points
2024-05-21T16:58:13.6333333+00:00

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.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,115 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,555 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anton Moroder 0 Reputation points
    2024-05-29T12:34:47.2866667+00:00

    I solved the problem by publishing with visual studio version 17.10.0.

    0 comments No comments