为什么安装 Wear OS Intel x86 Atom System Image v2 失败

Why does Installing Wear OS Intel x86 Atom System Image v2 fail

我正在使用 Visual Studio 和 Xamarin 的 Android SDK 管理器 尝试安装 Wear OS Intel x86 Atom Android 9.0.

的系统映像

单击应用Changles后,下载完成并尝试安装。之后,我看到一条消息说 Installing Wear OS Intel x86 Atom System Image v2 failed 但没有关于原因的其他信息。

如何解决这个问题,或者如何诊断安装失败的原因?

编辑:我已经为 Android 8.0 安装了 Android Wear Intel x86 Atom System Image ,以防提供任何有用的信息。

原因:

实际上,微软维护了自己的repository,目的是在微软维护自己的存储库之前,Google经常会推送破坏Xamarin.Android的更新。微软维护自己的 SDK 存储库缓解了这个问题,因为 XA 团队可以审查来自 Google 的新推送。

解法:

By default, the Android SDK Manager downloads platform components and tools from a Microsoft-managed repository. If you need access to experimental alpha/beta platforms and tools that are not yet available in the Microsoft repository, you can switch the SDK Manager to use Google's repository. To make this switch, click the gear icon in the lower right-hand corner and select Repository > Google (Unsupported).

打开Android SDK Manager -> 点击Apply Changes右边的gear icon --> Repository --> Select Google .

然后,您可以安装Wear OS Intel x86 Atom System Image

您可以参考:respository-selection.