The Xamarin Forms android sample doesn't compile in Visual Studio 2013.
Setting the max heap size to 1G does the trick but it would be worth updating the sample as someone new to Xamarin won't know that trick.
8 Answers, 1 is accepted
Thanks for writing. Actually, the issue comes from the latest version of Xamarin.Android.Support.* libraries. Currently we do not support the latest version -- 23.0.1. Please, use 22.2.1 instead. The latest version will be supported in our next build, expected before the end of next week.
Best regards,
Ves
Telerik
Thanks Ves.
It would be cool if you could post an announcement here when the next release is available.
Thanks again.
It seems I have mixed two issues here. The first one being the android project not building with Xamarin.Android.Support libraries version 23.0.1. For this you need to install the latest bits from Xamarin and to update your project to compile using Android API Level 23. While this has not been extensively tested, you should not expect issues with the current version or UI for Xamarin. It seems you have already done this.
The second problem is the java.lang.OutOfMemoryError thrown when building the Android project. While we're unsure exactly what has changed, this happens only when building with Xamarin.Android.Support libraries v 23.0.1. In this case you have taken the correct approach -- increase the max java heap size.
Best regards,
Ves
Telerik
Hi,
This is becoming a massive pain now.
We can't compile against API2 or API23.
global::Telerik.XamarinForms.ChartRenderer.Android.Resource.Attribute.barSize = global::VesselFinder.Droid.Resource.Attribute.barSize; -- Resource not found
The suggested workaround does not work for me or a friend who I recommended RadControls too. He has the same issues.
​
I am afraid, I have to agree -- it's a pain. Xamarin produced a number of releases lately (including two releases of Xamarin.Forms yesterday) and we need to follow them. Please, use API level 22 with Xamarin.Android.Support libraries version 22.2.1.0 for the time being. We are releasing an update with support for API level 23 with the latest Xamarin.Android.Support packages by the end of the week.
Best regards,
Ves
Telerik
Hi Ves,
Thanks for getting that update out, it resolved our compile issues.
Hello ,
I am using Xamarin UI DevCraft in which i am unable to find Telerik.XamarinForms.ChartRenderer.Android dll in C: drive
There is no such binary file so it is expected to not find it there. Please share more information on what you are trying to achieve so we can advise you.
Regards,
Stefan Nenchev
Telerik