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

前端 未结 8 1074
南方客
南方客 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 21:09

    I was able to to fix the issue by opening the Android SDK Manager and updating all the tools to the latest version.

    0 讨论(0)
  • 2020-12-23 21:12

    Adding these two references to Droid.csproj and packages.config fixed the problem for me:

    <package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
    
    <package id="Xamarin.Android.Support.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
    
    0 讨论(0)
提交回复
热议问题