This is a migrated thread and some comments may be shown as answers.

Could not AOT the assembly: SkiaSharp.dll

3 Answers 250 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
gaurav
Top achievements
Rank 1
gaurav asked on 20 Feb 2017, 05:16 AM

Hello,

I am getting following error when try to create "Archive" in release mode. It works fine in Debug mode. In Linker tab, i have selected "Sdk Assembly Only" option. If I choose "Sdk and User Assemblies" then it builds but getting unexpected error after the deployment.

Could not AOT the assembly: SkiaSharp.dll

Thanks,

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 21 Feb 2017, 03:19 PM
Hi gaurav,

Can you send us your project (or a stripped version, which reproduces the issue) so that we can investigate. Note, that AOT support is experimental and there are certain known issues with it, explained in the official Xamarin Android releases page, so the reason might not be within the scope of our products. I assume you are using android by the values for the linker options that you have provided.

Best regards,
Ves
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Vitaly
Top achievements
Rank 1
answered on 04 Apr 2017, 06:53 PM

Hi Ves,

It is not AOT issue, it is SkiaSharp bug that causes error during AOT.

Here is the PR with fix: https://github.com/mono/SkiaSharp/pull/275

Kind regards

Vitaly Knyazev

0
Ves
Telerik team
answered on 07 Apr 2017, 06:55 AM
Hi Vitaly,

Thank you for fixing this and for letting us know.

Best regards,
Ves
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
gaurav
Top achievements
Rank 1
Answers by
Ves
Telerik team
Vitaly
Top achievements
Rank 1
Share this question
or