简体   繁体   English

Android SDK包未安装

[英]Android sdk package not installing

在此处输入图片说明 I have downloaded android studio during the first launch I got an error something like check proxy etc, but after that AS runs well, when I got into Android sdk manager to install packages, available packages are not clickable I can not check them to install package. 我在首次启动时下载了android studio,但出现了诸如检查代理之类的错误,但是在AS运行良好之后,当我进入Android sdk管理器以安装软件包时,无法单击可用的软件包,因此无法检查它们以安装软件包。

There are multiple solutions for your issue, try these. 针对您的问题有多种解决方案,请尝试这些。 Hope one of them will work: 希望其中之一可以工作:

  1. Make sure you have space in the drive where your SDK is placed. 确保在放置SDK的驱动器中有空间。
  2. Remove whitespaces from path, or create another folder in any drive and replace the path of Sdk in Android Studio. 从路径中删除空格,或在任何驱动器中创建另一个文件夹,然后在Android Studio中替换Sdk的路径。 But make sure new path doesn't contain whitespaces. 但是,请确保新路径不包含空格。 (eg. "E/sdk"). (例如“ E / sdk”)。
  3. If the solution mentioned above doesn't work for you then copy the path that Android Studio in showing for Sdk and paste it in file manager. 如果上述解决方案对您不起作用,请复制Android Studio显示的Sdk路径并将其粘贴到文件管理器中。 It will take you to the SDK folder. 它将带您到SDK文件夹。 There you will see "SDKManager.exe" file. 在那里,您将看到“ SDKManager.exe”文件。 Open that exe file as Administrator, it will open SDK stand-alone manager. 以管理员身份打开该exe文件,它将打开SDK独立管理器。 It'll let you install all platforms. 它可以让您安装所有平台。

Hope it will work! 希望它能工作!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM