Issue with SDK in latest release

7 posts, 2 answers
  1. N Mackay
    N Mackay avatar
    228 posts
    Member since:
    Dec 2010

    Posted 06 Oct 2015 Link to this post

    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.

  2. Answer
    Ves
    Admin
    Ves avatar
    2879 posts

    Posted 08 Oct 2015 Link to this post

    Hi Norman,

    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
    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. DevCraft banner
  4. N Mackay
    N Mackay avatar
    228 posts
    Member since:
    Dec 2010

    Posted 08 Oct 2015 in reply to Ves Link to this post

    Thanks Ves.

    It would be cool if you could post an announcement here when the next release is available.

    Thanks again.

  5. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 12 Oct 2015 Link to this post

    Hi Norman,

    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
    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
  6. N Mackay
    N Mackay avatar
    228 posts
    Member since:
    Dec 2010

    Posted 20 Oct 2015 in reply to Ves Link to this post

    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.

     

     ​

  7. Answer
    Ves
    Admin
    Ves avatar
    2879 posts

    Posted 21 Oct 2015 Link to this post

    Hi Norman,

    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
    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
  8. N Mackay
    N Mackay avatar
    228 posts
    Member since:
    Dec 2010

    Posted 26 Oct 2015 Link to this post

    Hi Ves,

    Thanks for getting that update out, it resolved our compile issues.

Back to Top
DevCraft banner