The preview for Android doesn't work RRS feed

  • Question

  • User303781 posted

    Hello everyone,

    I am new to Xamarin Studio.

    Have created a project and preview works fine for iOS, but not working with Android. Always get an exception. it seems the previewer doesn't recognize listview...

    have no idea what should I do...

    Tuesday, February 28, 2017 8:32 AM

All replies

  • User21936 posted


    Do you mean Xamarin Forms Previewer?

    Thursday, March 2, 2017 10:52 PM
  • User303781 posted

    @JGoldberger Yes, exactly.

    Friday, March 3, 2017 9:58 AM
  • User21936 posted


    OK, so I tried to reproduce this issue with this sample which has a ListView in XAML: https://github.com/jamesmontemagno/Xamarin.Forms-Monkeys

    and the XAML rendered in the previewer without error. What is the exception your are getting? For future reference when posting a question like this where you say "I got an exception" it really helps to post the text and stack trace of the exception.

    Anyway, Can you test with that sample? this way we can see if it is perhaps an issue with your code rather than an issue with the previewer. Also you may want to look over this post about supplying design time data: http://motzcod.es/post/143702671962/xamarinforms-xaml-previewer-design-time-data

    The sample app linked above is the one talked about in the blog post and the code in the blog post is already in the app sample.

    Friday, March 3, 2017 8:33 PM
  • User303781 posted


    Hi Jon Goldberger

    thank you veryyyy much for your help! will try it out this evening. thank you again for your patience and help, really appreciate!

    Cheers Lin

    Monday, March 6, 2017 12:27 PM