我已经在Visual Studio Team Services Build上重建了一个解决方案,该解决方案在3天前成功构建。我的代码没有变化,但是我的构建项目步骤没有出现此错误:
2017-04-07T07:32:25.8202471Z Downloading Partial Zip parts from: https://dl-ssl.google.com/android/repository/android_m2repository_r42.zip
2017-04-07T07:33:06.1575894Z ##[error]src\packages\Xamarin.Build.Download.0.4.2\build\Xamarin.Build.Download.targets(47,3): Error XBD009: Partial Download Failed for one or more parts
2017-04-07T07:33:06.1575894Z C:\a\1\s\src\packages\Xamarin.Build.Download.0.4.2\build\Xamarin.Build.Download.targets(47,3): error XBD009: Partial Download Failed for one or more parts [C:\a\1\s\src\Android\Android.csproj]
2017-04-07T07:33:06.2360591Z ##[error]src\packages\Xamarin.Build.Download.0.4.2\build\Xamarin.Build.Download.targets(47,3): Error : An error occurred while sending the request.
2017-04-07T07:33:06.2370576Z C:\a\1\s\src\packages\Xamarin.Build.Download.0.4.2\build\Xamarin.Build.Download.targets(47,3): error : An error occurred while sending the request. [C:\a\1\s\src\Android\Android.csproj]
2017-04-07T07:33:06.2370576Z ##[error]src\packages\Xamarin.Build.Download.0.4.2\build\Xamarin.Build.Download.targets(47,3): Error XBD404: Please open the Android SDK Manager and install the latest version of 'Android Support Repository' from the 'Extras' section, and then reload your solution.
2017-04-07T07:33:06.2370576Z C:\a\1\s\src\packages\Xamarin.Build.Download.0.4.2\build\Xamarin.Build.Download.targets(47,3): error XBD404: Please open the Android SDK Manager and install the latest version of 'Android Support Repository' from the 'Extras' section, and then reload your solution. [C:\a\1\s\src\Android\Android.csproj]
2017-04-07T07:33:06.2460602Z Done Building Project "C:\a\1\s\src\Android\Android.csproj" (PackageForAndroid target(s)) -- FAILED.
2017-04-07T07:33:06.2480571Z
2017-04-07T07:33:06.2480571Z Build FAILED.
我不明白为什么我现在在一个没有改变的项目上得到这个错误。