Open CrazyMan-IK opened 3 years ago
Skia under Xamarin.Android is complicated. It has C# to Java bindings. When Visual Studio compiles an Android app it basically reads a DLL and makes any Java jars inside into dex. It also generates Java stubs when you inherit and modify a bindings class.
So firstly we need a Java compiler that can be tasked when needed. This is currently the easy part as I already have a working prototype of a Java compiler. It should be ready for release relatevely soon.
And secondly C# Shell needs to generate those Java stubs. It is probably possible under Android. I'm not completey sure yet.
Can I use SkiaSharp in my Xamarin.Forms project? If so why am I seeing the error "System.TypeLoadException: Could not load file or assembly 'SkiaSharp.Views.Android, Version=2.80.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies"?