How to resolve : unexpected error occured Initializing Android Designer" in VS 2015 with Xamarin

前端 未结 8 1120
南方客
南方客 2020-12-23 20:41

Bringing up a new PC with Xamarin and VS 2015 Pro I received the following error:

An unexpected error occurred trying to initialize Android Designer.

8条回答
  •  北海茫月
    2020-12-23 20:49

    before you go through all that trouble (and I went through many convoluted steps myself for several hours) please try run your VisualStudio as administrator and see what happens!

    It solved the above issue (and then some) for me. I used fresh WIN 10 and VS2015 Community install and I must have set some of my permissions to tight.

    Also I learned that updating my NuGet package: Xamarin.Forms (v.2.3.3.168) solved errors related to:

    System.MissingMethodException: Method Android.Support.V4.Widget.DrawerLayout.AddDrawerListener not found.
    

    But that is another issue all together.

提交回复
热议问题