在Windows 10上修复Visual Studio 2015 Community Edition时出现安装错误

在尝试修复 Missing MVC template in Visual Studio 2015时,我在Win10上的VS 2015副本上运行了“修复”.但是当修复完成后,我遇到了以下错误:

Microsoft Azure Storage Connected Service : Package failed.
Android SDK Setup (API Level 19 and 21) : The following package(s) were not downloaded: addon-google_apis-google-19 addon-google_apis_x86-google-19 android-19 android-21 android-22 build-tools-19.1.0 build-tools-21.1.2 build-tools-22.0.1 extra-android-m2repository extra-android-support platform-tools sys-img-armeabi-v7a-android-19 sys-img-x86-android-19 . Please check your internet connection and try again.
Android SDK Setup (API Level 22) : The following package(s) were not downloaded: addon-google_apis-google-19 addon-google_apis_x86-google-19 android-19 android-21 android-22 build-tools-19.1.0 build-tools-21.1.2 build-tools-22.0.1 extra-android-m2repository extra-android-support platform-tools sys-img-armeabi-v7a-android-19 sys-img-x86-android-19 . Please check your internet connection and try again.
GitHub Extension for Visual Studio : A VSIX extension with a matching Identifier is already installed to this product.

有关如何解决它的任何想法?请不要说重新安装,需要很长时间才能做到这一点,并根据以前的VS安装经验,我可能会有相同的错误.

我在VS 2015上再次运行修复,迫使我安装最新的更新.现在错误只是:

Android SDK Setup (API Level 23) : The following package(s) were not downloaded: build-tools-23.0.1 android-23 . Please check your internet connection and try again.

我该如何解决这个问题?

最佳答案 我的Java SE已经过时,所以我需要安装Java SE 1.8版本.

点赞