MAUI question for a Handler not found error #1882
Unanswered
ACHildebrand
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @ACHildebrand , was it resolved? I also faced same issue today. It seems we need to add a line ".UseSkiaSharp(true)" in MauiProgram.cs class. I'm not getting this error now. using SkiaSharp.Views.Maui.Controls.Hosting;
var builder = MauiApp.CreateBuilder();
builder
.UseSkiaSharp(true)
.UseMauiApp<App>()` |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently hacking a Xamarin tutorial for multipoint crop (Found Here: https://github.com/HeikkiDev/XFManualCropControl) and using the MAUI libraries I've run across an issue that I can't see the obvious problem causing this.
On run, the application compiles and runs fine until I attempt to load the page in question, when I load that page it crashes with a "Handler not found for view SkiaSharp.Views.Maui.Controls.SKCanvasView"
The only reference in both projects to SKCanvasView is in the XAML (<skia:SKCanvasView x:Name="CropImageCanvas" BackgroundColor="White"/>) so any insight as to why this might be happening, or what this error means, would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions