Xamarin won't open layouts

Why would my Xamarin suddenly stop opening layouts in layout mode? I have updated the programme, but that doesn't solve the issue.

Posts

  • PeterMorley-SmithPeterMorley-Smith ESMember

    It gives me this message when I try to open the layout: "The file 'C:\Users\Peter\Documents\Projects\shopping\Resources\layout\Main.axml' could not be opened. Object reference not set to an instance of an object." The file exists, but the programme seems to require an object reference or something.

  • DaveCarsonDaveCarson ✭✭✭ GBUniversity ✭✭✭
    edited March 2015

    Have you recently upgraded the Android build tools or Xamarin components? I had to revert the build tools once because of a similar problem.

  • MatthewWaring.4722MatthewWaring.4722 ✭✭ GBUniversity ✭✭

    Hi Peter / Dave,

    Did you resolve this? I have just encountered in today :(

    Did you have to reinstall xamarin or something else?

    Thanks

  • PeterMorley-SmithPeterMorley-Smith ESMember

    In the end I re-loaded Xamarin. That solved the issue. What I haven't done is update the programme. When I have a moment, I'll see if that works or not. Maybe it's the reason - I don't know. At least I am up and running again.

  • MatthewWaring.4722MatthewWaring.4722 ✭✭ GBUniversity ✭✭

    For anyone else who finds this thread, I am using a MAC.

    I installed the latest SDK Tools and Latest SDK Platform Tools in SDK Manager.

    And the layouts now open.

Sign In or Register to comment.