Unable to build AOT version of Android app

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Bank Van Breda
Newbie
Newbie
Posts: 10
Joined: Tue Nov 05, 2019 12:00 am

Unable to build AOT version of Android app

Post by Bank Van Breda » Fri Apr 03, 2020 7:09 am

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

Pep
Site Admin
Site Admin
Posts: 3272
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: Unable to build AOT version of Android app

Post by Pep » Tue Apr 07, 2020 8:16 am

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.

Pep
Site Admin
Site Admin
Posts: 3272
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: Unable to build AOT version of Android app

Post by Pep » Thu Apr 09, 2020 1:28 pm

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.

Bank Van Breda
Newbie
Newbie
Posts: 10
Joined: Tue Nov 05, 2019 12:00 am

Re: Unable to build AOT version of Android app

Post by Bank Van Breda » Tue Apr 14, 2020 6:31 am

Thanks for the feedback!
We will try this out when we upgraded the nuget package.

Bank Van Breda
Newbie
Newbie
Posts: 10
Joined: Tue Nov 05, 2019 12:00 am

Re: Unable to build AOT version of Android app

Post by Bank Van Breda » Tue Apr 14, 2020 12:47 pm

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 17047 times

Pep
Site Admin
Site Admin
Posts: 3272
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: Unable to build AOT version of Android app

Post by Pep » Tue Apr 14, 2020 4:00 pm

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 ?

Bank Van Breda
Newbie
Newbie
Posts: 10
Joined: Tue Nov 05, 2019 12:00 am

Re: Unable to build AOT version of Android app

Post by Bank Van Breda » Wed Apr 15, 2020 6:45 am

Emailed small test project.

Post Reply