What\'s the difference between buildtoolsVersion vs compileSdkVersion in the build.gradle for an Android project?
EDIT: Specifically, I\'d
It is no longer as important to know the exact buildToolsVersion as it used to be because it is now chosen automatically.
The documentation says:
You no longer need to specify a version for the build tools (so, you can now remove the
android.buildToolsVersionproperty). By default, the plugin automatically uses the minimum required build tools version for the version of Android plugin you're using.
I originally came here looking for how to know the exact version number of the most recent Build Tools Version (back in the days when this needed to be updated manually). If you still need to do this, you can find it in the following way:
Go to Tools > SDK Manager > SDK Tools (tab). Select Android SDK Build Tools from the list and check Show Package Details. The last item will show the most recent version.
In the image above, I can see that I have buildToolsVersion 27.0.3 installed. There is a more recent rc (release candidate) version, but I haven't installed it. I will when the stable version comes out.