Android Studio 2.2.2:所有包均不提供下载 [英] Android Studio 2.2.2: All packages are not available for download
问题描述
我在我的系统上安装了 Android Studio 2.2.2.当我打开具有 compileSdkVersion 23
的项目之一后,出现以下错误,
>错误:无法在以下位置找到带有哈希字符串android-22"的目标:>href="install.android.platform">安装缺少的平台并同步>项目
我知道这个错误意味着我需要下载 sdk 包,但我无法这样做.同样在我的 SDK 管理器中,我没有看到要安装的所有 API
我遇到了同样的问题.对我来说,它通过设置代理设置得到了解决.
Android Studio > 文件 > 设置 > 外观和行为 > 系统设置 > HTTP 代理
我建议检查是否需要任何代理才能为您的 android studio 启用互联网.希望这会对某人有所帮助.
I installed Android Studio 2.2.2 on my system. After when I openend one of the projects which have compileSdkVersion 23
, got following error,
> Error:Failed to find target with hash string 'android-22' in: > href="install.android.platform">Install missing platform(s) and sync > project</a>
I know this error means I need to download sdk packages but I'm not able to do so. Also in my SDK Manager I don't see all APIs to install
I was facing the same issue. For me, it got resolved by setting proxy settings.
Android Studio > File > Settings >appearance and behavior> System Settings > HTTP Proxy
I would suggest checking any proxy is required to enable internet for your android studio. Hope this will help somebody.
这篇关于Android Studio 2.2.2:所有包均不提供下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!