command-line utilities, and compiler that Gradle should use to build
your app. You need to download the build tools using the SDK Manager.
buildToolsVersion制定了Gradle在编译App时使用的SDK build tools、命令行、程序、编译器等的版本,这些都是通过SDK Manager下载的。它的值实际上是一个字符串,在Android Studio里我们通过Tools->SDK Manager,然后点选“SDK Tools”并勾选“Show Package Details”就能看到本地电脑已经下载的SDK Build-Tools的版本。
一般来说,选择跟compileSdkVersion同一个大版本下的最新稳定版本即可,如下图里我已经下载了这么多版本的Build-Tools,在新开发App时我会选择28.0.3版本。

An integer designating the minimum API Level required for the
application to run. The Android system will prevent the user from
installing the application if the system’s API Level is lower than the


1万+

被折叠的 条评论
为什么被折叠?



