錯誤信息:G:\XamarinDemo\Xamarin.Forms-master\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets(40,5): error : An outdated of ‘Android SDK Build-tools’ is in use which this version of Android Support Library does not support. You must uninstall any ‘Android SDK Build-tools’ versions older than 23.0.0 from the ‘Tools’ section in your ‘Android SDK Manager’
解決辦法:
(1)在Android SDK Manager中,卸載老版本的Build-tools。
(2)清理解決方案和項目,而後從新生成。
(3)若是步驟(1)和(2)不解決問題,須要在.csproj文件中,指定Build-tools版本,以下:
< PropertyGroup> <AndroidSdkBuildToolsVersion> 23.0.3 </AndroidSdkBuildToolsVersion> </PropertyGroup>ui