Could not AOT the assembly: SkiaSharp.dll

4 posts, 0 answers
  1. gaurav
    gaurav avatar
    5 posts
    Member since:
    Aug 2015

    Posted 19 Feb Link to this post

    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,

  2. Ves
    Admin
    Ves avatar
    2916 posts

    Posted 21 Feb Link to this post

    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
  3. Vitaly
    Vitaly avatar
    6 posts
    Member since:
    Oct 2012

    Posted 04 Apr Link to this post

    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

  4. Ves
    Admin
    Ves avatar
    2916 posts

    Posted 07 Apr Link to this post

    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
Back to Top