无法安装在Mac上Android SDK中包 [英] Can't install Android SDK packages on Mac

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

问题描述

我试图安装当前版本的Andr​​oid SDK的到Mac上运行OSX 10.7.5。

I'm trying to install the current version of the Android SDK onto a Mac running OSX 10.7.5.

下载和解压文件到我家目录(我有充分的写权限)后,我打开了 SDK>工具文件夹,然后运行的机器人的应用程序。这将打开了Android SDK管理器窗口。如果我检查框旁边的工具的文件夹,并从旁边3.0每一个Android API版本多达4.1.2,然后点击的安装包35 ...按钮,我带到的选择要安装的软件包的窗口。

After downloading and unzipping the file to my home directory (where I have full write permissions), I opened the SDK > Tools folder and ran the "android" application. This opens the Android SDK Manager window. If I check the boxes next to the "Tools" folder and next to each Android API version from 3.0 up to 4.1.2 and then click the "Install 35 packages..." button, I'm taken to the "Choose Packages to Install" window.

但安装在此窗口按钮是无效的,所有我在左侧的窗格中看到是我不想安装软件包(如 GoogleTV的许可 Android SDK中许可),他们都在他们旁边的问号。我没有看到包的列表(用绿色选中),我确实想安装。

But the "Install" button in this window is disabled and all I see in the pane on the left are packages that I don't want to install (e.g. Googletv License and Android SDK License) and they all have question marks next to them. I don't see a list of the packages (with green checkmarks) that I do want installed.

我是什么做错了吗?我想在此SO <一提到重装包href=\"http://stackoverflow.com/questions/14999058/sdk-manager-wont-install-new-packages-install-button-remains-unclickable\">post但没有在工具选项来清除缓存。

What am I doing wrong? I tried reloading the packages as mentioned in this SO post but there isn't an option under Tools to clear the cache.

推荐答案

我有同样的问题。选择包 - >刷新刷新缓存。然后取消选择所有项目和手动刚刚选择了Android的工具。 pressed安装一个软件包。许可证窗口将弹出,您可以接受许可并安装更新的工具。一旦完成,关闭并重新打开了Android SDK管理器。一旦它被重新推出,这将再次选择所有的软件包需要更新,但是这一次,当您选择安装X的包......,它需要你的许可屏幕,您将可以接受所有许可证,然后在安装按钮将被启用。

I've had the same issue. Select packages->Reload to refresh the cache. Then deselected All the items and manually just selected the android tools. Pressed install for that one package. The license window then pops up and you can accept the license and install the updated tools. Once it is done, close down and re-open the Android SDK Manager. Once it is re-launched it will select all the packages again that need updating, but this time, when you select "install X packages..." and it takes you to the license screen, you will be able to accept all the licenses and then the "install" button will be enabled.

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

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