Iconize icon indicating copy to clipboard operation
Iconize copied to clipboard

Font asset not found

Open vaindil opened this issue 7 years ago • 1 comments

I'm on version 3.0.0.66 from the CI repo, v3.0.0.482510 of Xamarin.Forms. I have both Xam.Plugin.Iconize and Xam.Plugin.Iconize.FontAwesome installed to my Forms and Droid projects. When I try to use either one, however, I get the error below. The error happens on app startup and crashes the whole thing. It happens with both the solid and regular font modules.

Java.Lang.RuntimeException: Font asset not found iconize-fontawesome-solid.otf

I have my Forms project initialized with:

Plugin.Iconize.Iconize.With(new Plugin.Iconize.Fonts.FontAwesomeRegularModule())
                      .With(new Plugin.Iconize.Fonts.FontAwesomeSolidModule());

Droid project:

Plugin.Iconize.Iconize.Init(Resource.Id.toolbar, Resource.Id.tabs);

vaindil avatar Jun 01 '18 16:06 vaindil

Have you added the required otf files? Be sure to set BuildAction to AndroidAsset.

alexmartinezm avatar Jun 11 '18 06:06 alexmartinezm