Android SDK安装失败 [英] Android SDK Setup installation failure

查看:215
本文介绍了Android SDK安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android SDK安装程序(API级别22,23,19和21)无法使用我的Visual Studio 2015版本进行安装。我一遍又一遍地试过,但它给出了同样的错误信息。请帮帮我。我该怎么办?我需要它用Xamarin构建一个跨平台的应用程序

解决方案

你好Chisom Nwasokwa,


欢迎来到MSDN论坛。


请提供错误消息。


查看此博客:
Visual Studio 2015安装失败(Android SDK安装程序)代理服务器
和按照以下步骤进行修复:


•在安装Visual Studio之前,请在此位置创建一个文件:%USERPROFILE% .android\androidtool.cfg


•在刚刚创建的androidtool.cfg文件中,放置那些您可以从博客中找到的内容。确保更新文件中的"http.proxyPort"和"http.proxyHost"!


•正常安装Visual Studio


看看这个类似的问题:
Android SDK的Visual Studio 2015安装问题 - 破解它!,
如果你找到相同的根本原因:所有google存储库都不再有这个包,你可以尝试创建自己的存储库包含这个丢失的包,并让Visual Studio
设置"认为"他下载包并成功解压缩。


顺便说一下,安装日志文件可以上传到
https://onedrive.live.com/
并在此处分享链接。


祝你好运,


乔伊斯



Android SDK Setup (API Level 22,23, 19 & 21) failed to install with my Visual Studio 2015 edition. I have tried over and over again but it gives the same error message. Please help me out. What do I do? I need it to build a cross platform app with Xamarin

解决方案

Hi Chisom Nwasokwa,

Welcome to MSDN forum.

Please provide the error message.

Check this blog: Visual Studio 2015 install failures (Android SDK Setup) behind a Proxy and follow the steps as below to fix it:

• BEFORE installing Visual Studio, create a file at this location: %USERPROFILE%.android\androidtool.cfg

• In the androidtool.cfg file that you just created, place those contents that you can find from the blog. Make sure to update "http.proxyPort" and "http.proxyHost" in the file!

• Install Visual Studio normally

Have a look at this similar issue: Visual Studio 2015 setup issue with Android SDK – hack it!, if you found the same root cause: all google repositories don’t have this package anymore on your side, you can try to create your own repository contains this missing package and let Visual Studio setup "think" he download the package and unzip it successfully.

BTW, the installation log file can upload to https://onedrive.live.com/ and share the link here.

Best regards,

Joyce


这篇关于Android SDK安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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