构建工具 - 为什么这么多的版本? [英] Build tools - why so many versions?

查看:133
本文介绍了构建工具 - 为什么这么多的版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我更新我已经得到的构建工具的新版本而非覆盖previous版本的SDK和Android构建环境,与大多数部件的时候,它会在建设 - 一个新的目录工具。

Every time I've updated the SDK and Android build environment I've got a new version of the build tools and rather than overwriting the previous version, as with most components, it creates a new directory in build-tools.

因此​​,我有目录:17.0.0,18.0.0,18.0.1。 (我在18.1.1错过了不知何故,即使SDK经理说,这是可用)。我也有19.0.0当我升级到API19但却打在了同样的问题在这个问题:<一href=\"http://stackoverflow.com/questions/19727915/android-dex-gives-a-bufferoverflowexception\">Android敏捷给人以BufferOverflowException 我卸载19.0.0,可能pviously建立我的$ P $再次合作的应用程序。

Thus I have directories: 17.0.0, 18.0.0, 18.0.1. ( I missed out on 18.1.1 somehow, even though the SDK manager says it's available). I did have 19.0.0 when I upgraded to API19 but hit the same problems as in this question: Android Dex gives a BufferOverflowException I uninstalled 19.0.0 and could build my previously working apps again.

什么是一回事呢?为什么单独的文件夹,而不是覆盖?为什么不建工具19.0.0工作在Windows?

What's it all about? Why the separate folders rather than overwriting? Why don't build tools 19.0.0 work in Windows?

我将非常AP preciate它,如果任何人都可以在这里赐教。

I'd very much appreciate it if anyone could enlighten me here.

推荐答案

这很简单。 Android的建立不应该打破,当你更新你的SDK。为了确保它永远不会打破,你需要能够建立与构建工具的任何版本。这就是为什么有是分开的。
如果你不喜欢它,你只需要最新的一个,你可以从你的电脑中删除旧的。

It's very simple. Android builds should never break when you update your sdk. To make sure it never breaks, you need to be able to build with any version of the build tools. That's why there are separate. If you don't like it and you only want to latest one, you can remove the old ones from your pc.

这篇关于构建工具 - 为什么这么多的版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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