Page 1 of 1

Unable to build AOT version of Android app

Posted: Fri Apr 03, 2020 7:09 am
by 18287324
Long story short, we are currently unable to do an AOT build of our Xamarin Forms app that uses the Steema nuget.
I first thought that it was a problem of the tooling, but the people at Microsoft found some interesting things...

Can you shed some more light on this, so we can again build AOT?

https://github.com/xamarin/xamarin-andr ... -608150993
https://github.com/xamarin/xamarin-andr ... -608175748

Re: Unable to build AOT version of Android app

Posted: Tue Apr 07, 2020 8:16 am
by Pep
Hello,

first of all, thanks for the advise and comments.
Just let you know that we're looking at it. We'll back to you asap.

Thanks.

Re: Unable to build AOT version of Android app

Posted: Thu Apr 09, 2020 1:28 pm
by Pep
Hello,

I've been investigating on this and notived that the TeeChart for Xamarin.Forms (Android project) has the following params set to false :

Code: Select all

<AotAssemblies>true</AotAssemblies>
<AndroidEnableProfiledAot>true</AndroidEnableProfiledAot>
I've changed both and also uploaded a new nuget package version (4.2020.4.9). I think this should solved your problems.

Re: Unable to build AOT version of Android app

Posted: Tue Apr 14, 2020 6:31 am
by 18287324
Thanks for the feedback!
We will try this out when we upgraded the nuget package.

Re: Unable to build AOT version of Android app

Posted: Tue Apr 14, 2020 12:47 pm
by 18287324
Still not working with new nuget.
Do we need to config something on our end?
Screen Shot 2020-04-14 at 14.45.53.png
Screen Shot 2020-04-14 at 14.45.53.png (143.94 KiB) Viewed 17130 times

Re: Unable to build AOT version of Android app

Posted: Tue Apr 14, 2020 4:00 pm
by Pep
Hello,
I cannot reproduce the problem here. In order to take a look and try to find a solution, would you be so kind to attach a simple example in a new reply or send me directly to my email pep@steema.com ?

Re: Unable to build AOT version of Android app

Posted: Wed Apr 15, 2020 6:45 am
by 18287324
Emailed small test project.