Hi @钢 屈 ,
Can you make sure whether you have added otf file to the Assets folder of the android project in Xamarin.Forms ?. If then, please ensure whether it has Build Action as Android Assets
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
my code error is
Java.Lang.RuntimeException
Message=Font asset not found FontAwesome5Regular.otf
the error be in code LoadApplication(new App());
protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstanceState);
Xamarin.Essentials.Platform.Init(this, savedInstanceState);
global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
LoadApplication(new App());
}
Hi @钢 屈 ,
Can you make sure whether you have added otf file to the Assets folder of the android project in Xamarin.Forms ?. If then, please ensure whether it has Build Action as Android Assets