error APT2260 resource font not found in Xamarin.Android project

gonzobrains 1 Reputation point
2020-12-11T19:25:45.66+00:00

I am trying to find a replacement for Calligraphy now that I must upgrade my project to API Level 29. I didn't have any luck with a new port so I am trying the native solution as suggested below:

https://medium.com/@davidmigloz/migrating-custom-fonts-from-calligraphy-to-android-fonts-3b635fd945dc

https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml?authuser=1

https://devblogs.microsoft.com/xamarin/embedded-fonts-xamarin-forms/

https://johnthiriet.com/xamarin-android-custom-font/

Unfortunately, I get the following error:

error APT2260: resource font/IndieFlower (aka com.________) not found.

I followed the instructions about moving the fonts from Assets to the Resources/font folder, but I still get this error.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,300 questions
{count} votes