未能找到构建工具修订版 21.1.1 - sdk 是最新的 [英] failed to find Build Tools revision 21.1.1 - sdk up to date

查看:27
本文介绍了未能找到构建工具修订版 21.1.1 - sdk 是最新的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行 linux android sdk 安装,我的新项目需要构建工具 21.1.1

I´m running a linux android sdk installation and my new project needs Build tools 21.1.1

不知何故,这个构建工具不存在,尽管我的 sdk 是最新的,但在 build-tools 文件夹中现在有 android-4.4W 文件夹

Somehow, this build tools do not exist, eventhough my sdk is up to date, but in the build-tools folder there is now android-4.4W folder

android 更新 sdk --no-ui

android update sdk --no-ui

我的 sdk/build-tools 文件夹

My sdk/build-tools folder

我已将内容 testwise 移至 21.1.1 文件夹,但这也无法识别.

I´ve moved the content testwise to a 21.1.1 folder, but this isn´t recognized either.

这是一个错误吗?如何获得正确的构建工具?

Is this a bug?How to I get the right build tools?

推荐答案

对我有用的是:

android list sdk -a

向我展示了以下列表:

1- Android SDK Tools, revision 24.0.2
2- Android SDK Platform-tools, revision 21
3- Android SDK Build-tools, revision 21.1.2
4- Android SDK Build-tools, revision 21.1.1
5- Android SDK Build-tools, revision 21.1
6- Android SDK Build-tools, revision 21.0.2
7- Android SDK Build-tools, revision 21.0.1
... and a great many more

后跟命令:

android update sdk -a -u -t 3

命令中的3"指的是第一个命令的输出中列出的索引.

The "3" in the command refers the the index listed in the output of the first command.

这篇关于未能找到构建工具修订版 21.1.1 - sdk 是最新的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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