Visual Studio Community 2017无法在安装时设置Android SDK Manager [英] Visual Studio Community 2017 fails to setup Android SDK Manager on install

查看:1011
本文介绍了Visual Studio Community 2017无法在安装时设置Android SDK Manager的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在已经三次下载了VS社区17,并且每次都没有为Xamarin安装所有必需的文件(至少从我的角度来看)。 我无法在android中运行任何东西,因为我没有安装API,而且我不能
安装API,因为SDK管理器总是显示空白。 我如何解决这个问题?

解决方案

您好斯拉夫,


感谢您在MSDN论坛上发帖。


当您进行Xamarin设置时,是否显示任何错误消息?


您可以向我们表达更详细的错误信息或屏幕截图,以便我们可以帮助您分析。


对于此问题,请尝试按照以下步骤进行问题排查:


1。运行VS安装程序> 修改>单个组件 ,以安装和修复所有Xamarin和Android组件:




2。请参阅:
使用Xamarin Android SDK Manager
  ,要安装Xamarin Android SDK Manager,请使用最新的
Visual Studio 2017预览。或直接使用;将您的安装程序升级到最新版本。 


如果上述方法无效,您最好使用 
http://aka.ms/vscollect
收集安装日志。从%temp%文件夹中找到vslogs.zip。请将文件上传到Onedrive并在此处分享链接。我会根据日志文件帮助您找到根本原因。


此外,  我还建议您也可以在
中寻求更专业的帮助 https://forums.xamarin.com/categories/android


最诚挚的问候,


I have downloaded VS Community 17 three times now, and every single time it does not install all of the necessary files for Xamarin (at least from my perspective).  I can't run anything in android because I don't have an API installed, and I can't install an API because the SDK manager always shows up blank.  How do I fix this?

解决方案

Hi Slavical,

Thank you for posting in MSDN forum.

When you do the Xamarin setup, does there any error message show up?

You could express us more detailed error information or screenshot, so that we could help you analyze.

For this issue, please try with following steps to troubleshoot:

1. Run VS installer>Modify>Individual Components , to install and repair all the Xamarin and Android components:

2. Refer to: Using the Xamarin Android SDK Manager , to install the Xamarin Android SDK Manager, please use the latest Visual Studio 2017 Preview., or directly upgrade your installer to newest version. 

If the above doesn't help, you'd better use  http://aka.ms/vscollect to gather the installation logs. find vslogs.zip from %temp% folder. Please upload the file to Onedrive and share the link here. I will help you find the root cause according to the log file.

In addition,  I also suggest you could also ask for a much professional help in https://forums.xamarin.com/categories/android

Best Regards,


这篇关于Visual Studio Community 2017无法在安装时设置Android SDK Manager的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆